Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
luxas committed Jul 17, 2020
1 parent 19b1c53 commit 4f5a28a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/apis/wksprovider/controller/wksctl/machine_controller.go
Expand Up @@ -53,10 +53,6 @@ const (
bootstrapTokenID string = "bootstrapTokenID"
)

var (
machineIPs = map[string]string{}
)

// TODO: should this be renamed 'reconciler' to match other CAPI providers ?

// MachineController is responsible for managing this cluster's machines, and
Expand Down Expand Up @@ -994,10 +990,6 @@ func (a *MachineController) recordEvent(object runtime.Object, eventType, reason
}
}

func getMachineID(machine *baremetalspecv1.BareMetalMachine) string {
return machine.Namespace + ":" + machine.Name
}

func (a *MachineController) getMachineAddress(m *baremetalspecv1.BareMetalMachine) string {
return m.Spec.Private.Address
}
Expand Down

0 comments on commit 4f5a28a

Please sign in to comment.