Skip to content

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nagiesek committed Feb 29, 2020
1 parent 98e9ed1 commit 18a4577
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion cni/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
package cni

import (
"reflect"
"github.com/sirupsen/logrus"
"github.com/Microsoft/hcsshim/hcn"
cniTypes "github.com/containernetworking/cni/pkg/types"
Expand Down
4 changes: 2 additions & 2 deletions common/core/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (plugin *netPlugin) Add(args *cniSkel.CmdArgs) (resultError error) {
if cniConfig.Ipam.Type != "" {
resultError = allocateIpam(networkInfo, epInfo, cniConfig, cniConfig.OptionalFlags.ForceBridgeGateway)
if resultError != nil {
// ResultErroror was logged by allocateIpam.
// ResultError was logged by allocateIpam.
return
}
defer func() {
Expand All @@ -178,7 +178,7 @@ func (plugin *netPlugin) Add(args *cniSkel.CmdArgs) (resultError error) {

epInfo, resultError = plugin.nm.CreateEndpoint(nwConfig.ID, epInfo, args.Netns)
if resultError != nil {
logrus.Errorf("[cni-net] Failed to create endpoint, resultErroror : %v.", resultError)
logrus.Errorf("[cni-net] Failed to create endpoint, resultError : %v.", resultError)
return
}

Expand Down

0 comments on commit 18a4577

Please sign in to comment.