We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d1f5f0 commit 751dabfCopy full SHA for 751dabf
1 file changed
frontend/csi/node_server.go
@@ -2640,8 +2640,12 @@ func (p *Plugin) updateCHAPInfoForSessions(
2640
if errs != nil {
2641
Logc(cancelCtx).WithError(errs).Error("Failed to get updated CHAP info for portal(s).")
2642
return errs
2643
+ } else if len(iqnToCHAP) == 0 {
2644
+ Logc(cancelCtx).Debug("No outdated CHAP info found in published sessions.")
2645
+ return nil
2646
}
2647
2648
+ Logc(cancelCtx).Debug("Updated CHAP info for published sessions.")
2649
return nil
2650
2651
0 commit comments