Skip to content

Commit

Permalink
refactor: remove unnecessary tests
Browse files Browse the repository at this point in the history
These are not needed and just add more code, lets rely on the meta tests
  • Loading branch information
dkoshkin committed Oct 6, 2023
1 parent a65d0ad commit bdcf565
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ var (
_ mutation.MetaMutator = &awsIAMInstanceProfileControlPlanePatchHandler{}
)

func NewControlPlanePatch() *awsIAMInstanceProfileControlPlanePatchHandler {
return newAWSIAMInstanceProfileControlPlanePatchHandler(VariableName)
}

func NewControlPlaneMetaPatch() *awsIAMInstanceProfileControlPlanePatchHandler {
return newAWSIAMInstanceProfileControlPlanePatchHandler(
clusterconfig.MetaVariableName,
Expand Down

This file was deleted.

4 changes: 0 additions & 4 deletions pkg/handlers/aws/mutation/iaminstanceprofile/inject_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ var (
_ mutation.MetaMutator = &awsIAMInstanceProfileWorkerPatchHandler{}
)

func NewWorkerPatch() *awsIAMInstanceProfileWorkerPatchHandler {
return newAWSIAMInstanceProfileWorkerPatchHandler(VariableName)
}

func NewWorkerMetaPatch() *awsIAMInstanceProfileWorkerPatchHandler {
return newAWSIAMInstanceProfileWorkerPatchHandler(
workerconfig.MetaVariableName,
Expand Down
21 changes: 0 additions & 21 deletions pkg/handlers/aws/mutation/iaminstanceprofile/inject_worker_test.go

This file was deleted.

0 comments on commit bdcf565

Please sign in to comment.