Skip to content

Commit bd8eb4f

Browse files
committed
Lint
1 parent 93295cb commit bd8eb4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/service/vmservice/ip.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func handleDefaultDevice(ctx context.Context, machineScope *scope.MachineScope,
170170
return false, nil
171171
}
172172

173-
// nolint
173+
//nolint
174174
func handleAdditionalDevices(ctx context.Context, machineScope *scope.MachineScope, addresses map[string]infrav1.IPAddress) (bool, error) {
175175
// additional network devices.
176176
for _, net := range machineScope.ProxmoxMachine.Spec.Network.AdditionalDevices {

internal/service/vmservice/vm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ func reconcileMachineAddresses(ctx context.Context, scope *scope.MachineScope) e
243243
}
244244

245245
// getMachineAddresses returns the ip addresses for the machine
246-
// nolint
246+
//nolint
247247
func getMachineAddresses(ctx context.Context, scope *scope.MachineScope) ([]clusterv1.MachineAddress, error) {
248248
if !machineHasIPAddress(scope.ProxmoxMachine) {
249249
return nil, errors.New("machine does not yet have an ip address")

0 commit comments

Comments
 (0)