Skip to content

Commit

Permalink
Removing namespace, runAsUser & localport flags for browse snapshot b…
Browse files Browse the repository at this point in the history
…ecause we made those persistent
  • Loading branch information
shlokc9 committed Jul 31, 2024
1 parent 62af178 commit dc4a65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/rootCmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func init() {
rootCmd.AddCommand(browseCmd)
browseCmd.Flags().StringVarP(&csiCheckVolumeSnapshotClass, "volumesnapshotclass", "v", "", "The name of a VolumeSnapshotClass. (Required)")
_ = browseCmd.MarkFlagRequired("volumesnapshotclass")
browseCmd.PersistentFlags().StringVarP(&namespace, "namespace", "n", fio.DefaultNS, "The namespace of the PersistentVolumeClaim.")
browseCmd.PersistentFlags().StringVarP(&namespace, "namespace", "n", fio.DefaultNS, "The namespace of the above resource.")
browseCmd.PersistentFlags().Int64VarP(&csiCheckRunAsUser, "runAsUser", "u", 0, "Runs the inspector pod as a user (int)")
browseCmd.PersistentFlags().IntVarP(&browseLocalPort, "localport", "l", 8080, "The local port to expose the inspector")

Expand Down

0 comments on commit dc4a65e

Please sign in to comment.