-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: service copy without default template (#1558)
### Motivation When copying a service without providing a template we try to fallback to the "<TaskName>/default" template. But our fallback logic is not working correctly and causing an NPE. ### Modification We now only accept a single service when copying. If no default template exists and no template is provided we respond with an message indicating the missing template. ### Result The `service <Service> copy` Command is working again. ##### Other context Fixes #1550
- Loading branch information
Showing
3 changed files
with
24 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters