add comment

This commit is contained in:
Shreyas Goenka 2025-01-28 12:02:17 +01:00
parent dc5909f9c0
commit 334ceda99b
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 3 additions and 0 deletions
cmd/root

View File

@ -87,6 +87,9 @@ func configureBundle(cmd *cobra.Command, b *bundle.Bundle) (*bundle.Bundle, diag
// Set the auth configuration in the command context. This can be used // Set the auth configuration in the command context. This can be used
// downstream to initialize a API client. // downstream to initialize a API client.
//
// Note that just initializing a workspace client and loading auth configuration
// is a fast operation. No network i/o is perform just yet for auth types like OAuth.
client, err := b.WorkspaceClientE() client, err := b.WorkspaceClientE()
if err != nil { if err != nil {
return b, diags.Extend(diag.FromErr(err)) return b, diags.Extend(diag.FromErr(err))