From 9551dd03cfad2ec0a00d89c2177fb7b45b6ad885 Mon Sep 17 00:00:00 2001 From: yupeng Date: Thu, 17 Nov 2016 14:13:38 +0800 Subject: [PATCH] Fix the typo Signed-off-by: yupeng --- daemon/cluster/cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/cluster/cluster.go b/daemon/cluster/cluster.go index 663b64b28a..fef7c540c6 100644 --- a/daemon/cluster/cluster.go +++ b/daemon/cluster/cluster.go @@ -70,7 +70,7 @@ var ErrSwarmJoinTimeoutReached = fmt.Errorf("Timeout was reached before node was // ErrSwarmLocked is returned if the swarm is encrypted and needs a key to unlock it. var ErrSwarmLocked = fmt.Errorf("Swarm is encrypted and needs to be unlocked before it can be used. Please use \"docker swarm unlock\" to unlock it.") -// ErrSwarmCertificatesExipred is returned if docker was not started for the whole validity period and they had no chance to renew automatically. +// ErrSwarmCertificatesExpired is returned if docker was not started for the whole validity period and they had no chance to renew automatically. var ErrSwarmCertificatesExpired = errors.New("Swarm certificates have expired. To replace them, leave the swarm and join again.") // NetworkSubnetsProvider exposes functions for retrieving the subnets