Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion network/network_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func (nm *networkManager) newNetworkImpl(nwInfo *EndpointInfo, extIf *externalIn
err := nm.handleCommonOptions(ifName, nwInfo)
if err != nil {
logger.Error("handleCommonOptions failed with", zap.Error(err))
return nil, err
return nil, errors.Wrap(err, NetworkNotReadyErrorMsg)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious how this particular string in the error message changes the behavior of kubelet?
If there is an ADD failure doesn't it already retry?

Also this error message string seems to be used in the context of swiftv2 mtpnc, rather than the vm's networking which applies to all scenarios (even non-swiftv2)

}

// Create the network object.
Expand Down
Loading