chore (servers): update nodeenrollment dep (#2129)

The signature for registration.AuthorizeNode(...) changed
This commit is contained in:
Jim authored and GitHub committed 2022-06-03 12:04:33 -04:00
1 parent 98449f25eb
commit 6cbb36f2b1
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))