Skip to content

Commit d79a569

Browse files
committed
Fix state file update after stage/publish action
1 parent 3348ad0 commit d79a569

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)