CSI: plugin config updates should always be destructive (#12774)
This commit is contained in:
parent
b8dd60f79c
commit
b2e4841747
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
csi: Fixed a bug where plugin configuration updates were not considered destructive
|
||||
```
|
|
@ -551,6 +551,9 @@ func tasksUpdated(jobA, jobB *structs.Job, taskGroup string) bool {
|
|||
if !reflect.DeepEqual(at.Templates, bt.Templates) {
|
||||
return true
|
||||
}
|
||||
if !reflect.DeepEqual(at.CSIPluginConfig, bt.CSIPluginConfig) {
|
||||
return true
|
||||
}
|
||||
|
||||
// Check the metadata
|
||||
if !reflect.DeepEqual(
|
||||
|
|
Loading…
Reference in New Issue