Skip to content

Commit 9550f5f

Browse files
lookloseDmitriyMV
authored andcommitted
docs: fix getAuthenticationMethod and completePathFromNode docs
Both of those contained incorrect comments. Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
1 parent bfbd02a commit 9550f5f

File tree

2 files changed

+2
-2
lines changed
  • cmd/talosctl/cmd/talos
  • pkg/imager/profile/internal/signer/azure

2 files changed

+2
-2
lines changed

cmd/talosctl/cmd/talos/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func addCommand(cmd *cobra.Command) {
5858
Commands = append(Commands, cmd)
5959
}
6060

61-
// completeResource represents tab complete options for `ls` and `ls *` commands.
61+
// completePathFromNode represents tab complete options for `ls` and `ls *` commands.
6262
func completePathFromNode(inputPath string) []string {
6363
pathToSearch := inputPath
6464

pkg/imager/profile/internal/signer/azure/azure.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const (
3131

3232
const azureClientID = "AZURE_CLIENT_ID"
3333

34-
// getAuthMethod returns the an authenticationMethod to use to get an Azure Authorizer.
34+
// getAuthenticationMethod returns an authenticationMethod to use to get an Azure Authorizer.
3535
// If no environment variables are set, unknownAuthMethod will be used.
3636
// If the environment variable 'AZURE_AUTH_METHOD' is set to either environment or cli, use it.
3737
// If the environment variables 'AZURE_TENANT_ID', 'AZURE_CLIENT_ID' and 'AZURE_CLIENT_SECRET' are set, use environment.

0 commit comments

Comments
 (0)