format code with gofumpt

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2022-09-30 11:59:11 +02:00
parent fed93645f1
commit 1da95ff6aa
93 changed files with 199 additions and 177 deletions
-1
View File
@@ -59,7 +59,6 @@ func TestNodeContextWrite(t *testing.T) {
expected string
clusterInfo swarm.ClusterInfo
}{
// Errors
{
context: formatter.Context{Format: "{{InvalidFunction}}"},
+1 -3
View File
@@ -13,9 +13,7 @@ import (
"github.com/spf13/pflag"
)
var (
errNoRoleChange = errors.New("role was already set to the requested value")
)
var errNoRoleChange = errors.New("role was already set to the requested value")
func newUpdateCommand(dockerCli command.Cli) *cobra.Command {
options := newNodeOptions()