format code with gofumpt

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2022-09-29 17:21:51 +02:00
parent fed93645f1
commit 1da95ff6aa
93 changed files with 199 additions and 177 deletions

View File

@ -59,7 +59,6 @@ func TestNodeContextWrite(t *testing.T) {
expected string
clusterInfo swarm.ClusterInfo
}{
// Errors
{
context: formatter.Context{Format: "{{InvalidFunction}}"},

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()