diff options
author | Jeffrey Lu <jeffreylu@google.com> | 2022-09-06 19:56:24 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-09-06 19:56:48 -0700 |
commit | 0970504c758d79ee8ce652760b2026b55fe78dd9 (patch) | |
tree | 48c3d1357f4b5470ccc978a568dc83741a5977d6 | |
parent | 4a1cefc901dd31479527fdf332ad7cc4eaae79b7 (diff) | |
download | tradefed_cluster-0970504c758d79ee8ce652760b2026b55fe78dd9.tar.gz |
Internal change
PiperOrigin-RevId: 472617813
Change-Id: I996a1550c295df3c7a122c00dbcde8febe298c7a
-rw-r--r-- | tradefed_cluster/device_manager.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tradefed_cluster/device_manager.py b/tradefed_cluster/device_manager.py index 3f420f0..967f339 100644 --- a/tradefed_cluster/device_manager.py +++ b/tradefed_cluster/device_manager.py @@ -771,7 +771,6 @@ def GetDevicesOnHost(hostname): .filter(datastore_entities.DeviceInfo.hidden == False) .fetch()) -@ndb.transactional() def UpdateGoneHost(hostname): """Set a host and its devices to GONE.""" logging.info("Set host %s and its devices to GONE.", hostname) @@ -800,7 +799,6 @@ def UpdateGoneHost(hostname): ndb.put_multi(entities_to_update) -@ndb.transactional() def HideHost(hostname): """Hide a host and its devices.""" logging.info("Hide host %s.", hostname) @@ -827,7 +825,6 @@ def HideHost(hostname): return host -@ndb.transactional() def RestoreHost(hostname): """Restore a host and its devices.""" logging.info("Restore host %s.", hostname) |