File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ func (dm *DriverManager) uninstallDriver() error {
361361 // Cleanup and reschedule components
362362 if dm .isGPUPodEvictionEnabled () || dm .isAutoDrainEnabled () {
363363 if err := dm .kubeClient .UncordonNode (dm .config .nodeName ); err != nil {
364- dm .log .Warn ("Failed to uncordon node" )
364+ dm .log .Warnf ("Failed to uncordon node: %v" , err )
365365 }
366366 }
367367
@@ -866,11 +866,11 @@ func (dm *DriverManager) cleanupOnFailure() {
866866
867867 if dm .isGPUPodEvictionEnabled () || dm .isAutoDrainEnabled () {
868868 if err := dm .kubeClient .UncordonNode (dm .config .nodeName ); err != nil {
869- dm .log .Warn ("Failed to uncordon node during cleanup" )
869+ dm .log .Warnf ("Failed to uncordon node during cleanup: %v" , err )
870870 }
871871 }
872872
873873 if err := dm .rescheduleGPUOperatorComponents (); err != nil {
874- dm .log .Warn ("Failed to reschedule GPU operator components during cleanup" )
874+ dm .log .Warnf ("Failed to reschedule GPU operator components during cleanup: %v" , err )
875875 }
876876}
You can’t perform that action at this time.
0 commit comments