Skip to content

Commit

Permalink
spaces between plus operator
Browse files Browse the repository at this point in the history
  • Loading branch information
dgulinobw committed Apr 4, 2023
1 parent a29d7ee commit 5d0b809
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,17 @@ func (p *dogProvider) Configure(ctx context.Context, req provider.ConfigureReque
if api_endpoint == "" {
resp.Diagnostics.AddError(
"Missing Dog API Endpoint",
"The provider cannot create the Dog API client as there is a missing or empty value for the Dog API endpoint. "+
"Set the API Endpoint value in the configuration or use the DOG_API_ENDPOINT environment variable. "+
"The provider cannot create the Dog API client as there is a missing or empty value for the Dog API endpoint. " +
"Set the API Endpoint value in the configuration or use the DOG_API_ENDPOINT environment variable. " +
"If either is already set, ensure the value is not empty.",
)
}

if api_token == "" {
resp.Diagnostics.AddError(
"Missing Dog API Key",
"The provider cannot create the Dog API client as there is a missing or empty value for the Dog API key. "+
"Set the API Key value in the configuration or use the DOG_API_TOKEN environment variable. "+
"The provider cannot create the Dog API client as there is a missing or empty value for the Dog API key. " +
"Set the API Key value in the configuration or use the DOG_API_TOKEN environment variable. " +
"If either is already set, ensure the value is not empty.",
)
}
Expand Down

0 comments on commit 5d0b809

Please sign in to comment.