[Autotest][COIL] updates to site_utils/deployment/*
Replacing master --> main
BUG=b:169251128
TEST=None, comment changes only
Change-Id: I08fc8c02f293c02cf2d1956a36e92e50cc100e2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2601720
Tested-by: Derek Beckett <dbeckett@chromium.org>
Auto-Submit: Derek Beckett <dbeckett@chromium.org>
Reviewed-by: Greg Edelston <gredelston@google.com>
Commit-Queue: Greg Edelston <gredelston@google.com>
diff --git a/site_utils/deployment/cmdvalidate.py b/site_utils/deployment/cmdvalidate.py
index 60ee9a0..cbd228e 100644
--- a/site_utils/deployment/cmdvalidate.py
+++ b/site_utils/deployment/cmdvalidate.py
@@ -177,6 +177,11 @@
# an error message.
if board is None:
return False
+
+ # TODO b:169251326 terms below (and in the comment above) are set outside
+ # of this codebase and should be updated when possible.
+ # ("master" -> "main")
+
# Check Google storage; report failures on stderr.
if _build_path_exists(board, 'LATEST-master'):
return True
diff --git a/site_utils/deployment/install.py b/site_utils/deployment/install.py
index 69c6909..c837294 100644
--- a/site_utils/deployment/install.py
+++ b/site_utils/deployment/install.py
@@ -315,12 +315,12 @@
@return A true value if the host is idle at return, or a false value
if the host wasn't idle after some reasonable time.
"""
- # We need to talk to the shard, not the master, for at least two
+ # We need to talk to the shard, not the main, for at least two
# reasons:
- # * The `abort_special_tasks` RPC doesn't forward from the master
+ # * The `abort_special_tasks` RPC doesn't forward from the main
# to the shard, and only the shard has access to the special
# tasks.
- # * Host status on the master can lag actual status on the shard
+ # * Host status on the main can lag actual status on the shard
# by several minutes. Only the shard can provide status
# guaranteed to post-date the call to lock the DUT.
if afe_host.shard: