Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 2cd8ce2

Browse files
committed
fix golanglint-ci warnings
1 parent d1db5fb commit 2cd8ce2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

controllers/packetmachine_controller.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ import (
4949
)
5050

5151
const (
52-
providerName = "packet"
53-
force = true
52+
force = true
5453
)
5554

5655
// PacketMachineReconciler reconciles a PacketMachine object
@@ -260,7 +259,7 @@ func (r *PacketMachineReconciler) reconcile(ctx context.Context, machineScope *s
260259
machineScope.SetAddresses(append(addrs, deviceAddr...))
261260

262261
// Proceed to reconcile the PacketMachine state.
263-
var result = ctrl.Result{}
262+
var result reconcile.Result
264263

265264
switch infrastructurev1alpha3.PacketResourceStatus(dev.State) {
266265
case infrastructurev1alpha3.PacketResourceStatusNew, infrastructurev1alpha3.PacketResourceStatusQueued, infrastructurev1alpha3.PacketResourceStatusProvisioning:

0 commit comments

Comments
 (0)