2 parents c0d0940 + 6c77ee7 commit 43869f7Copy full SHA for 43869f7
1 file changed
pyramid/members.go
@@ -505,5 +505,9 @@ func appendActionToFile(action managementAction) error {
505
return err
506
}
507
508
- return LoadManagement()
+ // apply only the new action: replaying the whole file here would
509
+ // re-apply all previous actions on top of the current state,
510
+ // duplicating parent links on every append
511
+ applyAction(action)
512
+ return nil
513
0 commit comments