chore (servers): update nodeenrollment dep (#2129)
The signature for registration.AuthorizeNode(...) changed
This commit is contained in:
1 file changed
+2
-1
@@ -185,7 +185,8 @@ func TestStoreWorkerAuth(t *testing.T) {
|
||||
require.NoError(err)
|
||||
|
||||
// The AuthorizeNode request will result in a WorkerAuth record being stored
|
||||
require.NoError(registration.AuthorizeNode(ctx, storage, fetchReq, nodeenrollment.WithState(state)))
|
||||
_, err = registration.AuthorizeNode(ctx, storage, fetchReq, nodeenrollment.WithState(state))
|
||||
require.NoError(err)
|
||||
|
||||
// We should now look for a node information value in storage and validate that it's populated
|
||||
nodeInfos, err := storage.List(ctx, (*types.NodeInformation)(nil))
|
||||
|
||||
Reference in new issue
Block a user