mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Return error returned by CSINode Get if initialization failed
This commit is contained in:
parent
5993ec5a5a
commit
bd42e728a8
@ -417,6 +417,8 @@ func (nim *nodeInfoManager) tryInitializeCSINodeWithAnnotation(csiKubeClient cli
|
||||
// CreateCSINode will set the annotation
|
||||
_, err = nim.CreateCSINode()
|
||||
return err
|
||||
} else if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
annotationModified := setMigrationAnnotation(nim.migratedPlugins, nodeInfo)
|
||||
|
Loading…
Reference in New Issue
Block a user