We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d5fd6 commit 4237bf4Copy full SHA for 4237bf4
cmd/oci-image-validate/main.go
@@ -158,6 +158,10 @@ func (v *validateCmd) validatePath(name string) error {
158
return image.Validate(name, v.refs, v.stdout)
159
}
160
161
+ if len(v.refs) != 0 {
162
+ fmt.Printf("WARNING: type %q does not support refs, which are only appropriate if type is image or imageLayout.\n", typ)
163
+ }
164
+
165
f, err := os.Open(name)
166
if err != nil {
167
return errors.Wrap(err, "unable to open file")
0 commit comments