Skip to content
Snippets Groups Projects
Unverified Commit 6a37649e authored by Stefan Prodan's avatar Stefan Prodan Committed by GitHub
Browse files

Merge pull request #1352 from SomtochiAma/handle-error

Remove redundant getCommand for image repository
parents bd348703 89260956
No related branches found
No related tags found
No related merge requests found
...@@ -49,13 +49,6 @@ var getImageAllCmd = &cobra.Command{ ...@@ -49,13 +49,6 @@ var getImageAllCmd = &cobra.Command{
list: &imageUpdateAutomationListAdapter{&autov1.ImageUpdateAutomationList{}}, 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 { for _, c := range allImageCmd {
if err := c.run(cmd, args); err != nil { if err := c.run(cmd, args); err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment