better wording
authorJoey Hess <joeyh@joeyh.name>
Tue, 4 Mar 2025 16:43:50 +0000 (12:43 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 4 Mar 2025 16:43:50 +0000 (12:43 -0400)
Avoids this contradiction:

(Auto enabling special remote foo...)

  Not enabling compute special remote c2 because [..]

Remote/Compute.hs

index 8cc23a6f44372f119853e1a1bb2673cb5f47e700..e4051bc8772d8b197d1a7ab3fc9dad81ab68a990 100644 (file)
@@ -131,7 +131,7 @@ setupInstance ss mu _ c _ = do
                _ -> unless (program `elem` allowedprograms) $ do
                        let remotename = fromMaybe "(unknown)" (lookupName c)
                        giveup $ unwords
-                               [ "Not enabling compute special remote"
+                               [ "Unable to enable compute special remote"
                                , remotename
                                , "because its compute program"
                                , program