Skip to content

Commit 396ddb8

Browse files
committed
fix uts
1 parent 76bfb5c commit 396ddb8

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

cns/deviceplugin/pluginmanager_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ func TestPluginManagerStartStop(t *testing.T) {
142142
}
143143

144144
type fakeKubelet struct {
145+
v1beta1.UnimplementedRegistrationServer // Required by newer protoc-gen-go-grpc to satisfy v1beta1.RegistrationServer
146+
145147
vnetPluginRegisterChan chan string
146148
ibPluginRegisterChan chan string
147149
pluginPrefix string

cns/deviceplugin/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,4 @@ func (s *Server) GetPreferredAllocation(context.Context, *v1beta1.PreferredAlloc
163163

164164
func (s *Server) PreStartContainer(context.Context, *v1beta1.PreStartContainerRequest) (*v1beta1.PreStartContainerResponse, error) {
165165
return &v1beta1.PreStartContainerResponse{}, nil
166-
}
166+
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.24.1
44

55
require (
66
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.19.1
7-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.12.0
7+
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.0
88
github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets v0.12.0
99
github.com/Masterminds/semver v1.5.0
1010
github.com/Microsoft/go-winio v0.6.2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ github.com/Azure/azure-container-networking/zapai v0.0.3/go.mod h1:XV/aKJQAV6KqV
1111
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible h1:fcYLmCpyNYRnvJbPerq7U0hS+6+I79yEDJBqVNcqUzU=
1212
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.19.1 h1:5YTBM8QDVIBN3sxBil89WfdAAqDZbyJTgh688DSxX5w=
1313
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.19.1/go.mod h1:YD5h/ldMsG0XiIw7PdyNhLxaM317eFh5yNLccNfGdyw=
14-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.12.0 h1:wL5IEG5zb7BVv1Kv0Xm92orq+5hB5Nipn3B5tn4Rqfk=
15-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.12.0/go.mod h1:J7MUC/wtRpfGVbQ5sIItY5/FuVWmvzlY21WAOfQnq/I=
14+
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.0 h1:KpMC6LFL7mqpExyMC9jVOYRiVhLmamjeZfRsUpB7l4s=
15+
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.0/go.mod h1:J7MUC/wtRpfGVbQ5sIItY5/FuVWmvzlY21WAOfQnq/I=
1616
github.com/Azure/azure-sdk-for-go/sdk/azidentity/cache v0.3.2 h1:yz1bePFlP5Vws5+8ez6T3HWXPmwOK7Yvq8QxDBD3SKY=
1717
github.com/Azure/azure-sdk-for-go/sdk/azidentity/cache v0.3.2/go.mod h1:Pa9ZNPuoNu/GztvBSKk9J1cDJW6vk/n0zLtV4mgd8N8=
1818
github.com/Azure/azure-sdk-for-go/sdk/internal v1.11.2 h1:9iefClla7iYpfYWdzPCRDozdmndjTm8DXdpCzPajMgA=

0 commit comments

Comments
 (0)