Skip to content

Commit c945dcd

Browse files
committed
update tests
1 parent c866636 commit c945dcd

File tree

2 files changed

+234
-231
lines changed

2 files changed

+234
-231
lines changed

pkg/oc/cli/importimage/importimage.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ func (o *ImportImageOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, ar
147147
return o.PrintFlags.ToPrinter()
148148
}
149149

150+
return o.parseImageReference()
151+
}
152+
153+
func (o *ImportImageOptions) parseImageReference() error {
150154
targetRef, err := imageapi.ParseDockerImageReference(o.Target)
151155
switch {
152156
case err != nil:

0 commit comments

Comments
 (0)