Commit afdfe619 authored by protolambda's avatar protolambda

op-node: fix flags message format lint

parent f45f8d4c
......@@ -258,7 +258,7 @@ func init() {
func CheckRequired(ctx *cli.Context) error {
for _, f := range requiredFlags {
if !ctx.GlobalIsSet(f.GetName()) {
return fmt.Errorf("flag %s is required", f.GetName)
return fmt.Errorf("flag %s is required", f.GetName())
}
}
return nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment