Skip to content

Commit

Permalink
fix: Fixed pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
YanniHu1996 committed Jun 6, 2023
1 parent 55cbd05 commit a9f419d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pkg/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func configure(version string, p *schema.Provider) func(context.Context, *schema
ba_bearer_token := schema.Get("ba_bearer_token").(string)
ba_api_uri := schema.Get("ba_api_uri").(string)
// set our meta to be a new api.API
// this can be turned into concrete cba_api_uri := schema.Get("ba_api_uri").(string)lients
// this can be turned into concrete clients
// by
// api.BuildAPI(meta).ClusterClient()
// or
Expand All @@ -94,8 +94,8 @@ func configure(version string, p *schema.Provider) func(context.Context, *schema
if ba_bearer_token == "" {
diags = append(diags, diagv2.Diagnostic{
Severity: diagv2.Error,
Summary: "Unable to find ba_nearer_token",
Detail: "ba_nearer_token cannot be an empty string"})
Summary: "Unable to find ba_bearer_token",
Detail: "ba_bearer_token cannot be an empty string"})
return nil, diags
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/provider/provider_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package provider

import (
"fmt"
"github.com/hashicorp/terraform-plugin-framework/providerserver"
"github.com/hashicorp/terraform-plugin-go/tfprotov6"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"fmt"
"os"
"testing"
)
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit a9f419d

Please sign in to comment.