Skip to content

Commit 95abf95

Browse files
committed
fix(cli): drop unused boolPtr helper (golangci-lint unused)
1 parent ba226cc commit 95abf95

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

internal/cli/incident.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,9 +578,6 @@ func newIncidentSimilarCmd() *cobra.Command {
578578
return cmd
579579
}
580580

581-
// boolPtr returns a pointer to the given bool value.
582-
func boolPtr(b bool) *bool { return &b }
583-
584581
// parseIntSlice converts a comma-separated string to []int64.
585582
func parseIntSlice(s string) ([]int64, error) {
586583
if s == "" {

0 commit comments

Comments
 (0)