Skip to content

Commit 72fff5a

Browse files
committed
fix linter
1 parent 8f45105 commit 72fff5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stack_deployment_groups.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type StackDeploymentGroups interface {
2020
Read(ctx context.Context, stackDeploymentGroupID string) (*StackDeploymentGroup, error)
2121

2222
// ReadByName retrieves a stack deployment group by its Name.
23-
ReadByName(ctx context.Context, stackConfigurationID string, stackDeploymentName string) (*StackDeploymentGroup, error)
23+
ReadByName(ctx context.Context, stackConfigurationID, stackDeploymentName string) (*StackDeploymentGroup, error)
2424

2525
// ApproveAllPlans approves all pending plans in a stack deployment group.
2626
ApproveAllPlans(ctx context.Context, stackDeploymentGroupID string) error
@@ -101,7 +101,7 @@ func (s stackDeploymentGroups) List(ctx context.Context, stackConfigID string, o
101101
}
102102

103103
// ReadByName retrieves a stack deployment group by its Name.
104-
func (s stackDeploymentGroups) ReadByName(ctx context.Context, stackConfigurationID string, stackDeploymentName string) (*StackDeploymentGroup, error) {
104+
func (s stackDeploymentGroups) ReadByName(ctx context.Context, stackConfigurationID, stackDeploymentName string) (*StackDeploymentGroup, error) {
105105
if !validStringID(&stackConfigurationID) {
106106
return nil, fmt.Errorf("invalid stack configuration id: %s", stackConfigurationID)
107107
}

0 commit comments

Comments
 (0)