Skip to content

Commit fe1e6be

Browse files
authored
🌱 Remove unused function HCloudMachineSpec() (#1648)
🌱 Remove unused function.
1 parent bc37725 commit fe1e6be

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

api/v1beta1/hcloudmachine_types.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,6 @@ type HCloudMachine struct {
118118
Status HCloudMachineStatus `json:"status,omitempty"`
119119
}
120120

121-
// HCloudMachineSpec returns a DeepCopy.
122-
func (r *HCloudMachine) HCloudMachineSpec() *HCloudMachineSpec {
123-
return r.Spec.DeepCopy()
124-
}
125-
126121
// GetConditions returns the observations of the operational state of the HCloudMachine resource.
127122
func (r *HCloudMachine) GetConditions() clusterv1.Conditions {
128123
return r.Status.Conditions

0 commit comments

Comments
 (0)