Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonc committed Jul 15, 2024
1 parent d780907 commit ed5a42a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stack_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
// release notes.
type StackConfigurations interface {
// ReadConfiguration returns a stack configuration by its ID.
Read(ctx context.Context, ID string) (*StackConfiguration, error)
Read(ctx context.Context, id string) (*StackConfiguration, error)
}

type stackConfigurations struct {
Expand All @@ -21,8 +21,8 @@ type stackConfigurations struct {

var _ StackConfigurations = &stackConfigurations{}

func (s stackConfigurations) Read(ctx context.Context, ID string) (*StackConfiguration, error) {
req, err := s.client.NewRequest("GET", fmt.Sprintf("stack-configurations/%s", url.PathEscape(ID)), nil)
func (s stackConfigurations) Read(ctx context.Context, id string) (*StackConfiguration, error) {
req, err := s.client.NewRequest("GET", fmt.Sprintf("stack-configurations/%s", url.PathEscape(id)), nil)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit ed5a42a

Please sign in to comment.