Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ Are you sure you want to disable auto-sync and rollback application '${this.prop
if (confirmed) {
if (needDisableRollback) {
const update = JSON.parse(JSON.stringify(application)) as appModels.Application;
update.spec.syncPolicy = {automated: null};
update.spec.syncPolicy.syncOptions.automated = null;
await services.applications.update(update);
}
await services.applications.rollback(this.props.match.params.name, this.getAppNamespace(), revisionHistory.id);
Expand Down
Loading