mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-15 00:37:52 -05:00
When CSI's AttachRequired changes from true to false after a successful volume attach, MarkVolumeAsAttached fails because it attempts to look up the plugin by spec, which fails verification. This patch passes the VolumeName directly to MarkVolumeAsAttached. This allows the function to skip the plugin lookup and correctly mark the volume as attached in the Actual State of World, ensuring VolumeAttachment cleanup can proceed. Signed-off-by: hongkang <mzhkcj50@gmail.com> |
||
|---|---|---|
| .. | ||
| fakegenerator.go | ||
| node_expander.go | ||
| node_expander_test.go | ||
| operation_executor.go | ||
| operation_executor_test.go | ||
| operation_generator.go | ||
| operation_generator_test.go | ||