From 5b3b4258dcc8c09f4dfa4e8a46f912fea4d33872 Mon Sep 17 00:00:00 2001 From: tesla59 Date: Tue, 29 Oct 2024 08:50:56 +0000 Subject: [PATCH] cmd(profile): set LogType to ContainerLog by default Signed-off-by: tesla59 --- cmd/profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/profile.go b/cmd/profile.go index 2003102c..017f9442 100644 --- a/cmd/profile.go +++ b/cmd/profile.go @@ -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")