Skip to content

Commit 32dcd78

Browse files
committed
fix(routines): remove unused ptrBool helper
golangci-lint flagged ptrBool as unused. The function had no call sites; the //go:fix inline directive does not exempt it from the unused linter.
1 parent b9122b6 commit 32dcd78

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

cli/azd/extensions/azure.ai.routines/internal/cmd/routine_helpers.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,6 @@ func boolStr(b *bool) string {
6666
return "false"
6767
}
6868

69-
// ptrBool returns a pointer to b.
70-
//
71-
//go:fix inline
72-
func ptrBool(b bool) *bool { return new(b) }
73-
7469
// routineSummaryTable prints a short summary of a routine in table format.
7570
func routineSummaryTable(r *routines.Routine) {
7671
tw := newTabWriter()

0 commit comments

Comments
 (0)