Skip to content

Commit 43f6cd1

Browse files
author
Aman Jain
committed
Updating create option conflict resolution for shorter length
1 parent fd02f25 commit 43f6cd1

File tree

1 file changed

+1
-1
lines changed
  • src/amlfs/azext_amlfs/aaz/latest/amlfs/auto_import

1 file changed

+1
-1
lines changed

src/amlfs/azext_amlfs/aaz/latest/amlfs/auto_import/_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
106106
help="An array of blob paths/prefixes that get auto imported to the cluster namespace. It has '/' as the default value. Number of maximum allowed paths is 100.",
107107
)
108108
_args_schema.conflict_resolution_mode = AAZStrArg(
109-
options=["--conflict-resolution-mode"],
109+
options=["--conflict-mode", "--conflict-resolution-mode"],
110110
arg_group="Properties",
111111
help="How the auto import job will handle conflicts. For example, if the auto import job is trying to bring in a directory, but a file is at that path, how it handles it. Fail indicates that the auto import job should stop immediately and not do anything with the conflict. Skip indicates that it should pass over the conflict. OverwriteIfDirty causes the auto import job to delete and re-import the file or directory if it is a conflicting type, is dirty, or is currently released. OverwriteAlways extends OverwriteIfDirty to include releasing files that had been restored but were not dirty. Please reference https://learn.microsoft.com/en-us/azure/azure-managed-lustre/blob-integration#conflict-resolution-mode for a thorough explanation of these resolution modes.",
112112
default="Skip",

0 commit comments

Comments
 (0)