Skip to content

Commit 76d786a

Browse files
Merge branch 'master' into master
2 parents c05df51 + 6d3fc21 commit 76d786a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

api/v1alpha1/instancegroup_types_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,6 @@ func TestInstanceGroupSpecValidate(t *testing.T) {
461461
func TestScalingConfigOverride(t *testing.T) {
462462
launchconfiguration := LaunchConfiguration
463463
launchtemplate := LaunchTemplate
464-
465464
var invalidScalingConfigType ScalingConfigurationType = "invalid-scaling-config-type"
466465

467466
type args struct {
@@ -529,7 +528,7 @@ func TestScalingConfigOverride(t *testing.T) {
529528
err := testFunction(t, tt.args)
530529
if (!tt.expectedError && err != "") || (tt.expectedError && err == "") {
531530
t.Errorf("%v: got: %v, expectedError: %v", tt.name, err, tt.expectedError)
532-
}
531+
}
533532
got := tt.args.instancegroup.Spec.EKSSpec.Type
534533
if got != tt.want {
535534
t.Errorf("%v: got %v, want %v", tt.name, got, tt.want)

main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ func main() {
8989
flag.BoolVar(&nodeRelabel, "node-relabel", true, "relabel nodes as they join with kubernetes.io/role label via controller")
9090
flag.BoolVar(&disableWinClusterInjection, "disable-windows-cluster-ca-injection", false, "Setting this to true will cause the ClusterCA and Endpoint to not be injected for Windows nodes")
9191
flag.StringVar(&defaultScalingConfiguration, "default-scaling-configuration", "LaunchTemplate", "By default ASGs will have LaunchTemplate. Set this string to either 'LaunchConfiguration' or 'LaunchTemplate' to enforce defaults.")
92-
9392
flag.Parse()
9493
ctrl.SetLogger(zap.New(zap.UseDevMode(true)))
9594

0 commit comments

Comments
 (0)