From cb614f01c3c7585084837c8c1110d6aabf99b9c7 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Wed, 10 May 2017 15:47:46 +0000 Subject: [PATCH] Fix message when IPAM has pending allocations It could be because we are waiting for a peer, or it could be because a subnet is exhausted and we need some local containers to die. --- prog/weaver/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prog/weaver/http.go b/prog/weaver/http.go index 2d815939..ccaae4af 100644 --- a/prog/weaver/http.go +++ b/prog/weaver/http.go @@ -178,7 +178,7 @@ var statusTemplate = defTemplate("status", `\ {{if allIPAMOwnersUnreachable .IPAM}}\ Status: all IP ranges owned by unreachable peers - use 'rmpeer' if they are dead {{else if len .IPAM.PendingAllocates}}\ - Status: waiting for IP range grant from peers + Status: waiting for IP(s) to become available {{else}}\ Status: ready {{end}}\