mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Fix typo in odo remove binding (#6449)
* Fix typo in odo remove binding Signed-off-by: Parthvi Vala <pvala@redhat.com> * Use add instead of create Signed-off-by: Parthvi Vala <pvala@redhat.com> Signed-off-by: Parthvi Vala <pvala@redhat.com>
This commit is contained in:
@@ -199,7 +199,7 @@ func NewCmdBinding(name, fullName string) *cobra.Command {
|
||||
return genericclioptions.GenericRun(o, cmd, args)
|
||||
},
|
||||
}
|
||||
bindingCmd.Flags().String(backend.FLAG_NAME, "", "Name of the Binding to create")
|
||||
bindingCmd.Flags().String(backend.FLAG_NAME, "", "Name of the Binding to add")
|
||||
bindingCmd.Flags().String(backend.FLAG_WORKLOAD, "", "Name of the workload to bind, only when no devfile is present in current directory")
|
||||
bindingCmd.Flags().String(backend.FLAG_SERVICE, "", "Name of the service to bind")
|
||||
bindingCmd.Flags().String(backend.FLAG_SERVICE_NAMESPACE, "", "Namespace of the service to bind to. Default is the component namespace.")
|
||||
|
||||
@@ -85,7 +85,7 @@ func NewCmdBinding(name, fullName string) *cobra.Command {
|
||||
return genericclioptions.GenericRun(o, cmd, args)
|
||||
},
|
||||
}
|
||||
bindingCmd.Flags().String(backend.FLAG_NAME, "", "Name of the Binding to create")
|
||||
bindingCmd.Flags().String(backend.FLAG_NAME, "", "Name of the Binding to remove")
|
||||
clientset.Add(bindingCmd, clientset.BINDING, clientset.FILESYSTEM)
|
||||
|
||||
return bindingCmd
|
||||
|
||||
Reference in New Issue
Block a user