Skip to content

Commit

Permalink
ssm/service_setting: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
YakDriver committed Jul 25, 2022
1 parent 2b2de7b commit 8b93a37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion internal/service/ssm/find.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ func FindPatchGroup(conn *ssm.SSM, patchGroup, baselineId string) (*ssm.PatchGro
return result, err
}

// FindServiceSetting returns the Document corresponding to the specified name.
func FindServiceSettingByARN(conn *ssm.SSM, arn string) (*ssm.ServiceSetting, error) {
input := &ssm.GetServiceSettingInput{
SettingId: aws.String(arn),
Expand Down
4 changes: 2 additions & 2 deletions internal/service/ssm/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func waitDocumentActive(conn *ssm.SSM, name string) (*ssm.DocumentDescription, e
return nil, err
}

func waitServiceSettingUpdated(conn *ssm.SSM, arn string, timeout time.Duration) (*ssm.ServiceSetting, error) { //nolint:unparam
func waitServiceSettingUpdated(conn *ssm.SSM, arn string, timeout time.Duration) (*ssm.ServiceSetting, error) {
stateConf := &resource.StateChangeConf{
Pending: []string{"PendingUpdate", ""},
Target: []string{"Customized", "Default"},
Expand All @@ -88,7 +88,7 @@ func waitServiceSettingUpdated(conn *ssm.SSM, arn string, timeout time.Duration)
return nil, err
}

func waitServiceSettingReset(conn *ssm.SSM, arn string, timeout time.Duration) error { //nolint:unparam
func waitServiceSettingReset(conn *ssm.SSM, arn string, timeout time.Duration) error {
stateConf := &resource.StateChangeConf{
Pending: []string{"Customized", "PendingUpdate", ""},
Target: []string{"Default"},
Expand Down

0 comments on commit 8b93a37

Please sign in to comment.