implemented suggestions

This commit is contained in:
miampf 2025-01-16 11:37:25 +01:00
parent ea94ebd236
commit 19181af13d
No known key found for this signature in database
GPG key ID: EF039364B5B6886C
5 changed files with 40 additions and 9 deletions

View file

@ -51,9 +51,6 @@ func TestClient(t *testing.T) {
{Role: role.ControlPlane, Name: "node-5", VPCIP: "192.0.2.3"},
}
caDerivationKey := make([]byte, 256)
for i := range caDerivationKey {
caDerivationKey[i] = 0x0
}
respCaKey := &joinproto.IssueJoinTicketResponse{EmergencyCaKey: caDerivationKey}
testCases := map[string]struct {