Skip to content

Commit

Permalink
fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
shanmydell committed Dec 21, 2023
1 parent b24c04b commit e435981
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func New(apiURL string, username string,
) (*ClientIMPL, error) {
debug, _ = strconv.ParseBool(os.Getenv("GOPOWERSTORE_DEBUG"))
if apiURL == "" || username == "" || password == "" {
return nil, errors.New("API ApiClient can't be initialized: " +
return nil, errors.New("API APIClient can't be initialized: " +
"Missing endpoint, username, or password param")
}

Expand Down
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const (
paginationDefaultPageSize = 1000
)

// ApiClient defines gopowerstore client interface
// APIClient defines gopowerstore client interface
type Client interface {
APIClient() api.Client
SetTraceID(ctx context.Context, value string) context.Context
Expand Down
2 changes: 1 addition & 1 deletion limit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func TestClientIMPL_GetMaxVolumeSize(t *testing.T) {
}
tests := []struct {
name string
API api.ApiClient
API api.APIClient

Check failure on line 42 in limit_test.go

View workflow job for this annotation

GitHub Actions / golangci-lint

undefined: api.APIClient

Check failure on line 42 in limit_test.go

View workflow job for this annotation

GitHub Actions / golangci-lint

undefined: api.APIClient

Check failure on line 42 in limit_test.go

View workflow job for this annotation

GitHub Actions / golangci-lint

undefined: api.APIClient
args args
mockResponse string
want int64
Expand Down
10 changes: 5 additions & 5 deletions mocks/APIClient.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions mocks/Client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e435981

Please sign in to comment.