Skip to content

Commit 6c3d223

Browse files
paulyufan2Copilot
andauthored
Update cns/middlewares/k8sSwiftV2.go
Co-authored-by: Copilot <[email protected]> Signed-off-by: Paul Yu <[email protected]>
1 parent 98e7a58 commit 6c3d223

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cns/middlewares/k8sSwiftV2.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ const (
2424
)
2525

2626
var (
27-
errMTPNCNotReady = errors.New(kubelet.NetworkNotReadyErrorMsg + " - mtpnc is not ready")
28-
errGetMTPNC = errors.New(kubelet.NetworkNotReadyErrorMsg + " - failed to get MTPNC")
27+
errMTPNCNotReady = errors.New(NetworkNotReadyErrorMsg + " - mtpnc is not ready")
28+
errGetMTPNC = errors.New(NetworkNotReadyErrorMsg + " - failed to get MTPNC")
2929
errInvalidSWIFTv2NICType = errors.New("invalid NIC type for SWIFT v2 scenario")
3030
errInvalidMTPNCPrefixLength = errors.New("invalid prefix length for MTPNC primaryIP, must be 32")
3131
)

0 commit comments

Comments
 (0)