Skip to content

Commit

Permalink
chore: correct lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lanathlor committed Jan 23, 2025
1 parent 69fad17 commit 9085e3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/ctl/compose/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ func handler(_ *cobra.Command, args []string) error {
// Get flags
isDefault, err := flags.IsDefaultParam.GetValue()
if err != nil {
return err
logging.Sugar.Error(err)
return err
}

if isDefault.(bool) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/ctl/compose/readpcap.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func readPcapCmd() *cobra.Command {
return cmd
}

func readPcap(cmd *cobra.Command, args []string) error {
func readPcap(_ *cobra.Command, args []string) error {
// Validate pcap
if len(args) < 1 {
return errors.New("pcap file path is required")
Expand Down
2 changes: 1 addition & 1 deletion cmd/ctl/compose/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func updateCmd() *cobra.Command {
return cmd
}

func updateHandler(cmd *cobra.Command, args []string) {
func updateHandler(_ *cobra.Command, args []string) {
// Validate flags
version, err := flags.Version.GetValue()
if err != nil {
Expand Down

0 comments on commit 9085e3f

Please sign in to comment.