change errorf to warnf for aduit error
parent
6815f9b06e
commit
f3266711de
|
@ -88,7 +88,7 @@ var RootCmd = &cobra.Command{
|
|||
},
|
||||
PersistentPostRun: func(cmd *cobra.Command, args []string) {
|
||||
if err := audit.LogCommandEnd(auditID); err != nil {
|
||||
klog.Errorf("failed to log command end to audit: %v", err)
|
||||
klog.Warningf("failed to log command end to audit: %v", err)
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue