remove redundant getCommand for image repository

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
pull/1352/head
Somtochi Onyekwere 4 years ago
parent bd34870334
commit 8926095660

@ -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