Skip to content

Commit

Permalink
Fix isMachineReady
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuzu committed Jan 1, 2025
1 parent 60085ad commit e293ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/incusmachine_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ func (r *IncusMachineReconciler) getBootstrapData(ctx context.Context, namespace
}

func (r *IncusMachineReconciler) isMachineReady(ctx context.Context, output *incus.GetInstanceOutput) bool {

Check failure on line 334 in internal/controller/incusmachine_controller.go

View workflow job for this annotation

GitHub Actions / Run on Ubuntu

`(*IncusMachineReconciler).isMachineReady` - `ctx` is unused (unparam)

Check failure on line 334 in internal/controller/incusmachine_controller.go

View workflow job for this annotation

GitHub Actions / Run on Ubuntu

`(*IncusMachineReconciler).isMachineReady` - `ctx` is unused (unparam)
return output.StatusCode == api.Ready
return output.StatusCode == api.Running
}

// SetupWithManager sets up the controller with the Manager.
Expand Down

0 comments on commit e293ae2

Please sign in to comment.