oc-mirror failed with "cannot unmarshal number into Go struct field "
Issue
- oc-mirror failed with "cannot unmarshal number into Go struct field "
$ oc-mirror --config /root/imageset.yaml docker://quay-server.example.com:8443/registry.redhat.io --ignore-history
error: decode mirror.openshift.io/v1alpha2, Kind=ImageSetConfiguration: json: cannot unmarshal number into Go struct field IncludeChannel.mirror.operators.packages.channels.name of type string
Environment
- Red Hat OpenShift Container Platform 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.