Skip to content

Commit 1f436d3

Browse files
madhanrmsharmasushant
authored andcommitted
Fix error message to include endpoint, container id (#183)
1 parent 5f58809 commit 1f436d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cni/network/network_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func handleConsecutiveAdd(containerId, endpointId string, nwInfo *network.Networ
2525

2626
err := hcsshim.HotAttachEndpoint(containerId, hnsEndpoint.Id)
2727
if err != nil {
28-
log.Printf("[cni-net] Failed to hot attach shared endpoint to container [%s], err:%v.", hnsEndpoint.Id, err)
28+
log.Printf("[cni-net] Failed to hot attach shared endpoint[%v] to container [%v], err:%v.", hnsEndpoint.Id, containerId, err)
2929
return nil, err
3030
}
3131

0 commit comments

Comments
 (0)