Skip to content

Commit

Permalink
CSI: plugin config updates should always be destructive
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross committed Apr 25, 2022
1 parent e4d6d51 commit 8a0b3c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scheduler/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 8a0b3c1

Please sign in to comment.