Skip to content

Commit ce4adfc

Browse files
authored
Merge pull request #458 from astraw99/fix-state-update
Fix state file update after stage/publish action
2 parents 3348ad0 + d79a569 commit ce4adfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/state/state.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func (s *state) UpdateVolume(update Volume) error {
196196
for i, volume := range s.Volumes {
197197
if volume.VolID == update.VolID {
198198
s.Volumes[i] = update
199-
return nil
199+
return s.dump()
200200
}
201201
}
202202
s.Volumes = append(s.Volumes, update)

0 commit comments

Comments
 (0)