Skip to content

Commit

Permalink
chore: add nolint for command definition
Browse files Browse the repository at this point in the history
Signed-off-by: mlycore <[email protected]>
  • Loading branch information
mlycore committed Nov 15, 2023
1 parent a68695b commit e77b415
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pitr/cli/internal/cmd/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import (
"github.com/spf13/pflag"
)

//nolint:dupl
var DeleteCmd = &cobra.Command{
Use: "delete",
Short: "Delete a backup record",
Expand All @@ -57,6 +58,7 @@ var DeleteCmd = &cobra.Command{
},
}

// nolint:dupl
func init() {
RootCmd.AddCommand(DeleteCmd)

Expand Down

0 comments on commit e77b415

Please sign in to comment.