From 7777557a3a8599fbbd8e9a04d7328898c663ded1 Mon Sep 17 00:00:00 2001 From: allencloud Date: Thu, 17 Nov 2016 14:06:08 +0800 Subject: [PATCH] remove unused error ErrPendingSwarmExists Signed-off-by: allencloud --- daemon/cluster/cluster.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/daemon/cluster/cluster.go b/daemon/cluster/cluster.go index 663b64b28a..475cdb9014 100644 --- a/daemon/cluster/cluster.go +++ b/daemon/cluster/cluster.go @@ -61,9 +61,6 @@ var ErrNoSwarm = fmt.Errorf("This node is not part of a swarm") // ErrSwarmExists is returned on initialize or join request for a cluster that has already been activated var ErrSwarmExists = fmt.Errorf("This node is already part of a swarm. Use \"docker swarm leave\" to leave this swarm and join another one.") -// ErrPendingSwarmExists is returned on initialize or join request for a cluster that is already processing a similar request but has not succeeded yet. -var ErrPendingSwarmExists = fmt.Errorf("This node is processing an existing join request that has not succeeded yet. Use \"docker swarm leave\" to cancel the current request.") - // ErrSwarmJoinTimeoutReached is returned when cluster join could not complete before timeout was reached. var ErrSwarmJoinTimeoutReached = fmt.Errorf("Timeout was reached before node was joined. The attempt to join the swarm will continue in the background. Use the \"docker info\" command to see the current swarm status of your node.")