Skip to content

Commit

Permalink
Add correct formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
noisersup committed Jun 23, 2022
1 parent 7402efb commit 07ff3e8
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions internal/handlers/common/msg_setfreemonitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,13 @@ func MsgSetFreeMonitoring(ctx context.Context, msg *wire.OpMsg) (*wire.OpMsg, er
"Free Monitoring has been disabled via the command-line and/or config file",
)
default:
return nil, NewErrorMsg(ErrBadValue, fmt.Sprintf(
"Enumeration value '%s' for field '%s' is not a valid value.",
action,
command+".action",
))
return nil, NewErrorMsg(
ErrBadValue,
fmt.Sprintf(
"Enumeration value '%s' for field '%s' is not a valid value.",
action,
command+".action",
),
)
}
}

0 comments on commit 07ff3e8

Please sign in to comment.