Skip to content

Commit

Permalink
bug fix: Snapshot restore always restores index alias (#1213) (#1214)
Browse files Browse the repository at this point in the history
(cherry picked from commit bb075f6)

Signed-off-by: Sandeep Kumawat <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sandeep Kumawat <[email protected]>
Co-authored-by: Ramakrishna Chilaka <[email protected]>
  • Loading branch information
4 people authored Dec 16, 2024
1 parent 03230b5 commit d8c01a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class RestoreSnapshotFlyout extends MDSEnabledComponent<RestoreSnapshotPr
include_global_state: snapshot?.include_global_state,
rename_pattern: pattern,
rename_replacement: renameIndices === add_prefix ? `${prefix}$1` : renameReplacement,
include_aliases: snapshot?.restore_aliases ? snapshot.restore_aliases : true,
include_aliases: snapshot?.restore_aliases !== undefined ? snapshot.restore_aliases : true,
partial: snapshot?.partial || false,
};
let repoError = "";
Expand Down

0 comments on commit d8c01a4

Please sign in to comment.