Merge pull request #1352 from SomtochiAma/handle-error

Remove redundant getCommand for image repository
pull/1356/head
Stefan Prodan 4 years ago committed by GitHub
commit 6a37649ee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -49,13 +49,6 @@ var getImageAllCmd = &cobra.Command{
list: &imageUpdateAutomationListAdapter{&autov1.ImageUpdateAutomationList{}},
},
}
c := getCommand{
apiType: imageRepositoryType,
list: imageRepositoryListAdapter{&imagev1.ImageRepositoryList{}},
}
if err := c.run(cmd, args); err != nil {
logger.Failuref(err.Error())
}
for _, c := range allImageCmd {
if err := c.run(cmd, args); err != nil {

Loading…
Cancel
Save