mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-10 00:51:07 +00:00
all: fix spelling mistakes
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
e73657d7aa
commit
d4811f11a0
@@ -60,7 +60,7 @@ const (
|
||||
//
|
||||
// Only the Key optional field may be set.
|
||||
AUMAddKey
|
||||
// A RemoveKey AUM describes hte removal of a key trusted by TKA.
|
||||
// A RemoveKey AUM describes the removal of a key trusted by TKA.
|
||||
//
|
||||
// Only the KeyID optional field may be set.
|
||||
AUMRemoveKey
|
||||
|
@@ -67,7 +67,7 @@ func (s *scenarioTest) mkNodeWithForks(name string, signWithDefault bool, chains
|
||||
for parentName, chain := range chains {
|
||||
parent, exists := n.AUMs[parentName]
|
||||
if !exists {
|
||||
panic("cannot use non-existent parent: " + parentName)
|
||||
panic("cannot use nonexistent parent: " + parentName)
|
||||
}
|
||||
parentHash := parent.Hash()
|
||||
chain.Nodes[chain.FirstIdent].ParentHash = &parentHash
|
||||
@@ -216,7 +216,7 @@ func TestScenarioHelpers(t *testing.T) {
|
||||
s.checkHaveConsensus(control, n)
|
||||
}
|
||||
|
||||
func TestNormalPropergation(t *testing.T) {
|
||||
func TestNormalPropagation(t *testing.T) {
|
||||
s := testScenario(t, `
|
||||
G -> L1 -> L2
|
||||
G.template = genesis
|
||||
@@ -242,7 +242,7 @@ func TestNormalPropergation(t *testing.T) {
|
||||
s.checkHaveConsensus(n1, n2)
|
||||
}
|
||||
|
||||
func TestForkingPropergation(t *testing.T) {
|
||||
func TestForkingPropagation(t *testing.T) {
|
||||
pub, priv := testingKey25519(t, 2)
|
||||
key := Key{Kind: Key25519, Public: pub, Votes: 2}
|
||||
|
||||
@@ -278,7 +278,7 @@ func TestForkingPropergation(t *testing.T) {
|
||||
s.testSyncsBetween(control, n2)
|
||||
s.checkHaveConsensus(control, n2)
|
||||
|
||||
// No wozzles propergating from n2->CTRL, what about CTRL->n1?
|
||||
// No wozzles propagating from n2->CTRL, what about CTRL->n1?
|
||||
s.testSyncsBetween(control, n1)
|
||||
s.checkHaveConsensus(n1, n2)
|
||||
|
||||
@@ -290,7 +290,7 @@ func TestForkingPropergation(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestInvalidAUMPropergationRejected(t *testing.T) {
|
||||
func TestInvalidAUMPropagationRejected(t *testing.T) {
|
||||
s := testScenario(t, `
|
||||
G -> L1 -> L2
|
||||
G.template = genesis
|
||||
@@ -324,7 +324,7 @@ func TestInvalidAUMPropergationRejected(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestUnsignedAUMPropergationRejected(t *testing.T) {
|
||||
func TestUnsignedAUMPropagationRejected(t *testing.T) {
|
||||
s := testScenario(t, `
|
||||
G -> L1 -> L2
|
||||
G.template = genesis
|
||||
@@ -357,7 +357,7 @@ func TestUnsignedAUMPropergationRejected(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestBadSigAUMPropergationRejected(t *testing.T) {
|
||||
func TestBadSigAUMPropagationRejected(t *testing.T) {
|
||||
s := testScenario(t, `
|
||||
G -> L1 -> L2
|
||||
G.template = genesis
|
||||
|
@@ -33,7 +33,7 @@ const (
|
||||
// SigRotation signature and sign it again with their rotation key. That
|
||||
// way, SigRotation nesting should only be 2 deep in the common case.
|
||||
SigRotation
|
||||
// SigCredential describes a signature over a specifi public key, signed
|
||||
// SigCredential describes a signature over a specific public key, signed
|
||||
// by a key in the tailnet key authority referenced by the specified keyID.
|
||||
// In effect, SigCredential delegates the ability to make a signature to
|
||||
// a different public/private key pair.
|
||||
|
Reference in New Issue
Block a user