Skip to content

Commit 391cfc9

Browse files
committed
resources: Do not update Spec.Storage.Pvc.Path
At the moment we only support setting the PVC path at creation time. We do not support updating the path retrospectively. Remove the code which updates the path since this could lead to a bug. Signed-off-by: Sachin Prabhu <[email protected]>
1 parent 83f74f6 commit 391cfc9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

internal/planner/configuration.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@ func (pl *Planner) Update() (changed bool, err error) {
101101
}
102102
pl.ConfigState.Shares[shareKey] = share
103103
changed = true
104-
} else if share.Options["path"] != pl.Paths().Share() {
105-
// Update path if changed
106-
share.Options["path"] = pl.Paths().Share()
107104
}
108105
cfgKey := pl.instanceID()
109106
cfg, found := pl.ConfigState.Configs[cfgKey]

0 commit comments

Comments
 (0)