Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dimuon committed Sep 7, 2022
1 parent 566bce8 commit dda2e9d
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ectpf/ecresource/deploymentresource/create.go
Original file line number Diff line number Diff line change
@@ -19,7 +19,6 @@ package deploymentresource

import (
"context"
"fmt"

"github.com/elastic/cloud-sdk-go/pkg/api"
)
@@ -73,8 +72,9 @@ func Create(ctx context.Context, client *api.API, cfg, plan *DeploymentData) (re
return nil, nil
}

func newCreationError(reqID string) error {
/* func newCreationError(reqID string) error {
return fmt.Errorf(
`set "request_id" to "%s" to recreate the deployment resources`, reqID,
)
}
*/
2 changes: 0 additions & 2 deletions ectpf/provider.go
Original file line number Diff line number Diff line change
@@ -51,8 +51,6 @@ var (
apikeyDesc = fmt.Sprint("API Key to use for API authentication. ", saasRequiredText, ".")
usernameDesc = fmt.Sprint("Username to use for API authentication. ", eceOnlyText, ".")
passwordDesc = fmt.Sprint("Password to use for API authentication. ", eceOnlyText, ".")

validURLSchemes = []string{"http", "https"}
)

// Ensure provider defined types fully satisfy framework interfaces

0 comments on commit dda2e9d

Please sign in to comment.