Skip to content

Commit

Permalink
bug fix: Snapshot restore always restores index alias (#1213)
Browse files Browse the repository at this point in the history
Signed-off-by: Sandeep Kumawat <[email protected]>
Co-authored-by: Sandeep Kumawat <[email protected]>
(cherry picked from commit bb075f6)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and Sandeep Kumawat committed Nov 13, 2024
1 parent bbf8c25 commit 0372f5a
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 0372f5a

Please sign in to comment.