Skip to content

Commit cb1ffde

Browse files
committed
fix lints
1 parent fddc9b0 commit cb1ffde

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

pkg/cloudprovider/aws/aws.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ func verifyIfErrorOccurred(apiErr error, expectedMessage ...string) (bool, error
5959
}
6060

6161
func verifyIfErrorOccurredWithDefaults(apiErr error, expectedMessage string) (bool, error) {
62-
skip_errs := []string{
62+
skipErrs := []string{
6363
// default errors we wanted to skip
6464
"is not in correct state",
6565
expectedMessage,
6666
}
67-
return verifyIfErrorOccurred(apiErr, skip_errs...)
67+
return verifyIfErrorOccurred(apiErr, skipErrs...)
6868
}
6969

7070
type provider struct {

pkg/cloudprovider/aws/aws_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ func TestInstance_OutOfDate(t *testing.T) {
438438
MixedInstancesPolicy: &autoscaling.MixedInstancesPolicy{
439439
LaunchTemplate: &autoscaling.LaunchTemplate{
440440
LaunchTemplateSpecification: &autoscaling.LaunchTemplateSpecification{
441-
Version: aws.String(launchTemplateLatestVersion),
441+
Version: aws.String(launchTemplateLatestVersion),
442442
},
443443
},
444444
},
@@ -453,7 +453,7 @@ func TestInstance_OutOfDate(t *testing.T) {
453453
MixedInstancesPolicy: &autoscaling.MixedInstancesPolicy{
454454
LaunchTemplate: &autoscaling.LaunchTemplate{
455455
LaunchTemplateSpecification: &autoscaling.LaunchTemplateSpecification{
456-
Version: aws.String(launchTemplateLatestVersion),
456+
Version: aws.String(launchTemplateLatestVersion),
457457
},
458458
},
459459
},

pkg/cloudprovider/aws/retry_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func DefaultRetryConfig() RetryConfig {
2626
return RetryConfig{
2727
Enabled: true,
2828
MaxRetries: 5,
29-
InitialDelayMs: 5000, // 5 seconds - safe default
29+
InitialDelayMs: 5000, // 5 seconds - safe default
3030
MaxDelayMs: 60000, // 60 seconds max
3131
}
3232
}

0 commit comments

Comments
 (0)