Skip to content

Commit 4417d9d

Browse files
lint
1 parent db22496 commit 4417d9d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

apps/workspace-engine/svc/controllers/deploymentplanresult/github_check_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@ import (
1515

1616
// --- helpers ---
1717

18-
func ptrBool(v bool) *bool { return &v }
19-
2018
func completedResult(name string, hasChanges bool, current, proposed string) agentResult {
2119
return agentResult{
2220
AgentName: name,
2321
AgentType: "argo-cd",
2422
Status: db.DeploymentPlanTargetStatusCompleted,
25-
HasChanges: ptrBool(hasChanges),
23+
HasChanges: &hasChanges,
2624
Current: current,
2725
Proposed: proposed,
2826
}

0 commit comments

Comments
 (0)