Skip to content

Commit

Permalink
Add debug messasge for MAC.
Browse files Browse the repository at this point in the history
  • Loading branch information
s1061123 committed Sep 5, 2018
1 parent 4f5a2e8 commit 2699e3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions multus/multus.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ func delegateAdd(exec invoke.Exec, ifName string, delegate *types.DelegateNetCon
if os.Setenv("MAC", delegate.MacRequest) != nil {
return nil, logging.Errorf("cannot set %q mac to %q: %v", delegate.Conf.Type, delegate.MacRequest, err)
}
logging.Debugf("Set MAC address %q to %q", delegate.MacRequest, ifName)
}

if delegate.ConfListPlugin != false {
Expand Down

0 comments on commit 2699e3b

Please sign in to comment.