Skip to content

Commit

Permalink
cmd(profile): set LogType to ContainerLog by default
Browse files Browse the repository at this point in the history
Signed-off-by: tesla59 <[email protected]>
  • Loading branch information
tesla59 committed Oct 29, 2024
1 parent bae9e5b commit 5b3b425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func init() {
profilecmd.Flags().StringVar(&profileOptions.GRPC, "gRPC", "", "use gRPC")
profilecmd.Flags().StringVarP(&profileOptions.Namespace, "namespace", "n", "", "Filter using namespace")
profilecmd.Flags().StringVar(&profileOptions.LogFilter, "logFilter", "system", "Filter for what kinds of alerts and logs to receive, {policy|system|all}")
profilecmd.Flags().StringVar(&profileOptions.LogType, "logType", "", "Log type you want (Eg:ContainerLog/HostLog)")
profilecmd.Flags().StringVar(&profileOptions.LogType, "logType", "ContainerLog", "Log type you want (Eg:ContainerLog/HostLog)")
profilecmd.Flags().StringVar(&profileOptions.Pod, "pod", "", "Filter using Pod name")
profilecmd.Flags().StringVarP(&profileOptions.Container, "container", "c", "", "name of the container ")
profilecmd.Flags().BoolVar(&profileOptions.Save, "save", false, "Save Profile data in json format")
Expand Down

0 comments on commit 5b3b425

Please sign in to comment.