From 172a7f1d1ab9a12a48726d0657cdd34176b4f5bc Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Tue, 26 Sep 2023 11:09:03 +0200 Subject: [PATCH] Fix gofmt error Signed-off-by: Manuel Buil --- pkg/cli/agent/agent.go | 2 +- pkg/cli/server/server.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cli/agent/agent.go b/pkg/cli/agent/agent.go index 2afbe0553d..cac180fd39 100644 --- a/pkg/cli/agent/agent.go +++ b/pkg/cli/agent/agent.go @@ -60,7 +60,7 @@ func Run(ctx *cli.Context) error { } if cmds.AgentConfig.FlannelIface != "" && len(cmds.AgentConfig.NodeIP) == 0 { - ip, err := util.GetIPFromInterface(cmds.AgentConfig.FlannelIface) + ip, err := util.GetIPFromInterface(cmds.AgentConfig.FlannelIface) if err != nil { return err } diff --git a/pkg/cli/server/server.go b/pkg/cli/server/server.go index 79d62fcf1f..5b9d514b1e 100644 --- a/pkg/cli/server/server.go +++ b/pkg/cli/server/server.go @@ -217,7 +217,7 @@ func run(app *cli.Context, cfg *cmds.Server, leaderControllers server.CustomCont } if cmds.AgentConfig.FlannelIface != "" && len(cmds.AgentConfig.NodeIP) == 0 { - ip, err := util.GetIPFromInterface(cmds.AgentConfig.FlannelIface) + ip, err := util.GetIPFromInterface(cmds.AgentConfig.FlannelIface) if err != nil { return err }