change errorf to warnf for aduit error

pull/15864/head
Medya Gh 2023-02-15 11:01:34 -08:00
parent 6815f9b06e
commit f3266711de
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
},
}