Browse Source

Fix printf verb %s of wrong type

Sakeven Jiang 7 years ago
parent
commit
1c359a2367
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/vxlan/device.go

+ 1 - 1
backend/vxlan/device.go

@@ -114,7 +114,7 @@ func (dev *vxlanDevice) Configure(ipn ip.IP4Net) error {
 
 	// flannel will never make this happen. This situation can only be caused by a user, so get them to sort it out.
 	if len(existingAddrs) > 1 {
-		return fmt.Errorf("link has incompatible addresses. Remove additional addresses and try again. %s", dev.link)
+		return fmt.Errorf("link has incompatible addresses. Remove additional addresses and try again. %#v", dev.link)
 	}
 
 	// If the device has an incompatible address then delete it. This can happen if the lease changes for example.