Skip to content

Commit

Permalink
netplugin/netd.go: fix a typo
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
  • Loading branch information
unclejack authored and chrisplo committed Nov 29, 2017
1 parent a20b5a0 commit 6fcec36
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions netplugin/netd.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ func startNetPlugin(pluginConfig *plugin.Config) {
}
}

func initNetPluginConifg(ctx *cli.Context) (plugin.Config, error) {

func initNetPluginConfig(ctx *cli.Context) (plugin.Config, error) {
// 1. validate and set up log
if ctx.Bool("use-syslog") {
syslogURL := ctx.String("syslog-url")
Expand Down Expand Up @@ -301,7 +300,7 @@ func main() {
}
sort.Sort(cli.FlagsByName(app.Flags))
app.Action = func(ctx *cli.Context) error {
configs, err := initNetPluginConifg(ctx)
configs, err := initNetPluginConfig(ctx)
if err != nil {
errmsg := err.Error()
logrus.Error(errmsg)
Expand Down

0 comments on commit 6fcec36

Please sign in to comment.