Skip to content

Commit

Permalink
Removed duplicate and updated error message
Browse files Browse the repository at this point in the history
  • Loading branch information
KeerthanaAP committed Dec 13, 2023
1 parent db680d5 commit 5175b06
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions api/v1beta1/ibmvpcmachinetemplate_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ type IBMVPCMachineTemplateStatus struct {
// Important: Run "make" to regenerate code after modifying this file
}

// +kubebuilder:object:root=true

// +kubebuilder:object:root=true
// +kubebuilder:resource:path=ibmvpcmachinetemplates,scope=Namespaced,categories=cluster-api

Expand Down
2 changes: 1 addition & 1 deletion controllers/ibmvpcmachinetemplate_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func TestGetIBMVPCMachineCapacity(t *testing.T) {
capacity, err := getIBMVPCMachineCapacity(tc.VPCMachineTemplate)
if tc.expectErr {
if err == nil {
t.Fatal("getIBMPowerVSMachineCapacity expected to return an error")
t.Fatal("getIBMVPCMachineCapacity expected to return an error")
}
} else {
if err != nil {
Expand Down

0 comments on commit 5175b06

Please sign in to comment.