summaryrefslogtreecommitdiff
path: root/checkReady.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-31 03:00:10 -0600
committerJeff Carr <[email protected]>2024-01-31 03:00:10 -0600
commit417f5be49bfddd2c8e38198710deb5621d208603 (patch)
treef11da93fbcdc84950960a6c1745857b59aebc443 /checkReady.go
parent576580772e302aacbf627f1d2154c28e332d9008 (diff)
more logic for 'READY' state
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'checkReady.go')
-rw-r--r--checkReady.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/checkReady.go b/checkReady.go
index a70da6a..1b5686e 100644
--- a/checkReady.go
+++ b/checkReady.go
@@ -18,6 +18,9 @@ func CheckReady() bool {
lastS := release.current.status.GetLastTagVersion()
log.Info("repo:", release.current.String(), goSumS, dirtyS, lastS)
+ if goSumS == "READY" {
+ return true
+ }
if release.current.status.ReadOnly() {
log.Info("\trepo is read only")
return false