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.
2 parents 03596f5 + f0f54bf commit ad7d1efCopy full SHA for ad7d1ef
components/cli/docs/yaml/yaml.go
@@ -123,7 +123,7 @@ func GenYamlCustom(cmd *cobra.Command, w io.Writer) error {
123
cliDoc.Kubernetes = true
124
}
125
if _, ok := curr.Annotations["swarm"]; ok && !cliDoc.Swarm {
126
- cliDoc.Kubernetes = true
+ cliDoc.Swarm = true
127
128
129
@@ -208,7 +208,7 @@ func genFlagResult(flags *pflag.FlagSet) []cmdOption {
208
opt.Kubernetes = true
209
210
if _, ok := flag.Annotations["swarm"]; ok {
211
- opt.Kubernetes = true
+ opt.Swarm = true
212
213
214
result = append(result, opt)
0 commit comments