mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
Fix bug in check ou
This commit is contained in:
@@ -17881,10 +17881,10 @@ def doCheckOrgUnit():
|
|||||||
if not pageToken:
|
if not pageToken:
|
||||||
_finalizeGAPIpagesResult(pageMessage)
|
_finalizeGAPIpagesResult(pageMessage)
|
||||||
printGotAccountEntities(totalItems)
|
printGotAccountEntities(totalItems)
|
||||||
|
if f is not None and orgUnitItemCounts['devices'] > 0:
|
||||||
|
writeCommandInfo('devices')
|
||||||
|
f.write(f'gam update ou {moveToOrgUnitPath} add cros_ou {orgUnitPath}\n')
|
||||||
break
|
break
|
||||||
if f is not None and orgUnitItemCounts['devices'] > 0:
|
|
||||||
writeCommandInfo('devices')
|
|
||||||
f.write(f'gam update ou {moveToOrgUnitPath} add cros_ou {orgUnitPath}\n')
|
|
||||||
except GAPI.invalidInput as e:
|
except GAPI.invalidInput as e:
|
||||||
message = str(e)
|
message = str(e)
|
||||||
# Invalid Input: xyz - Check for invalid pageToken!!
|
# Invalid Input: xyz - Check for invalid pageToken!!
|
||||||
|
|||||||
Reference in New Issue
Block a user