Skip to content

Commit

Permalink
Merge fc2c214 into backport/b-csi-plugin-diff-destructive/ghastly-uni…
Browse files Browse the repository at this point in the history
…fied-boa
  • Loading branch information
hc-github-team-nomad-core committed Apr 25, 2022
2 parents 5444a19 + fc2c214 commit bb7b515
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/12774.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
csi: Fixed a bug where plugin configuration updates were not considered destructive
```
3 changes: 3 additions & 0 deletions scheduler/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,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 bb7b515

Please sign in to comment.