This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 8c778b15 Allow test node to see migration status
8c778b15 is described below
commit 8c778b15fcd89a3316381340ef319f8aae709311
Author: Sebb <[email protected]>
AuthorDate: Thu Oct 3 00:09:19 2024 +0100
Allow test node to see migration status
---
lib/whimsy/asf/status.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/status.rb b/lib/whimsy/asf/status.rb
index 76871877..379a2895 100644
--- a/lib/whimsy/asf/status.rb
+++ b/lib/whimsy/asf/status.rb
@@ -51,8 +51,8 @@ module Status
# - not migrating
# - or testnode
def self.updates_disallowed_reason
- return nil if testnode?
return 'Updates unavailable due to migration.' if migrating?
+ return nil if testnode?
return 'Updates unavailable on this node. Please ensure you have logged in
to the correct host.' unless active?
nil