Skip to content

Commit 0f16f90

Browse files
committed
trigger
1 parent 7640aec commit 0f16f90

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/azure-cli/azure/cli/command_modules/monitor/operations/log_analytics_workspace.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
217217

218218
def pre_operations(self):
219219
args = self.ctx.args
220+
220221
if has_value(args.retention_in_days):
221222
retention_time = args.retention_in_days.to_serialized_data()
222223
if retention_time == -1 or (4 <= retention_time <= 730):
@@ -240,7 +241,7 @@ class WorkspaceTableSearchJobCancel(_WorkspaceTableSearchJobCancel):
240241
def pre_operations(self):
241242
args = self.ctx.args
242243
table_name = args.table_name.to_serialized_data()
243-
244+
244245
if table_name and not table_name.endswith("_SRCH"):
245246
raise InvalidArgumentValueError('usage: The table name needs to end with _SRCH')
246247

0 commit comments

Comments
 (0)