Skip to content

Commit

Permalink
Update rollback.go
Browse files Browse the repository at this point in the history
disable save clusterfile
  • Loading branch information
clcc2019 authored Aug 29, 2024
1 parent e78975f commit 4366a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/sealer/cmd/cluster/rollback.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func rollbackCluster(cf clusterfile.Interface, imageEngine imageengine.Interface
}

//save and commit
if err = cf.SaveAll(clusterfile.SaveOptions{CommitToCluster: true, ConfPath: confPath}); err != nil {
if err = cf.SaveAll(clusterfile.SaveOptions{CommitToCluster: false, ConfPath: confPath}); err != nil {
return err
}

Expand Down

0 comments on commit 4366a58

Please sign in to comment.