Remove Azure install params from node configure output (#22113)

This change fixes a bug where Azure join params would incorrectly appear in
the output of `teleport node configure`.
This commit is contained in:
Andrew Burke 2023-02-22 15:18:13 -08:00 committed by GitHub
parent 0fce40d294
commit 4c4669f07f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -652,7 +652,7 @@ func checkAndSetDefaultsForGCPMatchers(matcherInput []GCPMatcher) error {
type JoinParams struct {
TokenName string `yaml:"token_name"`
Method types.JoinMethod `yaml:"method"`
Azure AzureJoinParams `yaml:"azure"`
Azure AzureJoinParams `yaml:"azure,omitempty"`
}
// AzureJoinParams configures the parameters specific to the Azure join method.