Skip to content

Commit

Permalink
Merge pull request #98 from dobsonj/OCPBUGS-20417
Browse files Browse the repository at this point in the history
[release-4.12] OCPBUGS-20417: syncer: fix nil pointer dereference in log message
  • Loading branch information
openshift-merge-bot[bot] committed Nov 15, 2023
2 parents f67513c + 1dbd14f commit e4c0e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/syncer/metadatasyncer.go
Expand Up @@ -960,7 +960,7 @@ func podAdded(obj interface{}, metadataSyncer *metadataSyncInformer) {
if err != nil {
log.Warnf("podAdded: Failed to get VolumeID from "+
"volumeMigrationService for static PV: %q volumePath: %q with error %+v",
pv.Name, volume.VsphereVolume.VolumePath, err)
pv.Name, pv.Spec.VsphereVolume.VolumePath, err)
continue
}
log.Infof("Successfully registered in-tree vSphere inline volume: %q with "+
Expand Down

0 comments on commit e4c0e10

Please sign in to comment.