Skip to content

Commit e5d2b25

Browse files
author
indusridhar
committed
Fix line too long lint error in _format.py
1 parent aa08812 commit e5d2b25

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/aks-preview/azext_aks_preview/_format.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,11 @@ def aks_agentpool_rollback_versions_table_format(results):
159159
return []
160160

161161
def _format_rollback_version(result):
162-
parsed = compile_jmes("""{\n kubernetesVersion: orchestrator_version,\n nodeImageVersion: node_image_version,\n timestamp: timestamp\n }""")
162+
parsed = compile_jmes("""{
163+
kubernetesVersion: orchestrator_version,
164+
nodeImageVersion: node_image_version,
165+
timestamp: timestamp
166+
}""")
163167
return parsed.search(result, Options(dict_cls=OrderedDict))
164168

165169
return [_format_rollback_version(r) for r in results]

0 commit comments

Comments
 (0)