cdmikechen opened a new pull request #911: URL: https://github.com/apache/submarine/pull/911
### What is this PR for? When there has been a deployment called `submarine-server` in the same namespace, create a new submarine CR in this namespace will cause nil exception. After several crash downs of the operator, the operator will not be available. ### What type of PR is it? Bug Fix ### Todos * [x] - Handle the error that the object is nil when get deployment by name ### What is the Jira issue? https://issues.apache.org/jira/browse/SUBMARINE-1227 ### How should this be tested? <!-- * First time? Setup Travis CI as described on https://submarine.apache.org/contribution/contributions.html#continuous-integration * Strongly recommended: add automated unit tests for any new or changed behavior * Outline any manual steps to test the PR here. --> ### Screenshots (if appropriate) No ### Questions: * Do the license files need updating? No * Are there breaking changes for older versions? No * Does this need new documentation? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
