Skip to content

Commit fccc398

Browse files
committed
Removed redundant lines
1 parent d9360dd commit fccc398

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • src/azure-cli/azure/cli/command_modules/vm/operations

src/azure-cli/azure/cli/command_modules/vm/operations/vm.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,6 @@ def _output(self, *args, **kwargs):
202202
if not identity:
203203
return result
204204

205-
if not identity.get('principalId'):
206-
identity['principalId'] = None
207-
208-
if not identity.get('tenantId'):
209-
identity['tenantId'] = None
210-
211205
if not identity.get('userAssignedIdentities'):
212206
identity['userAssignedIdentities'] = None
213207

0 commit comments

Comments
 (0)