Skip to content

Commit baf449a

Browse files
committed
Added node-service-listener cli option
1 parent 41f8ca0 commit baf449a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/root.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ import (
1313

1414
func AddNodeServiceFlags(flagSet *pflag.FlagSet, cfg *config.Config) *string {
1515
configPath := AddCommonFlags(flagSet, cfg)
16+
17+
flagSet.StringVar(&cfg.API.NodeServiceListener, "node-service-listener",
18+
cfg.API.NodeServiceListener, "Listener for the node service")
1619
return configPath
1720
}
1821

0 commit comments

Comments
 (0)