Merge pull request #8439 from manuelbuil/fixGofmt

Fix gofmt error
This commit is contained in:
Manuel Buil 2023-09-26 19:14:07 +02:00 committed by GitHub
commit 4dd45b3142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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
}