mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
Refactor node-join script to take safer options and reuse install option logic (#52196)
* Add install script using teleport-update and oneoff.sh * Refactor node-join script to take safer options and reuse install option logic * GoDoc + make functions private * Address edoardo's feedback
This commit is contained in:
@@ -66,7 +66,7 @@ func TestMarshalLabelsYAML(t *testing.T) {
|
||||
numExtraIndent: 2,
|
||||
},
|
||||
} {
|
||||
got, err := MarshalLabelsYAML(tt.labels, tt.numExtraIndent)
|
||||
got, err := marshalLabelsYAML(tt.labels, tt.numExtraIndent)
|
||||
require.NoError(t, err)
|
||||
|
||||
require.YAMLEq(t, strings.Join(tt.expected, "\n"), strings.Join(got, "\n"))
|
||||
|
||||
Reference in New Issue
Block a user