Skip to content

Commit d01591c

Browse files
MariusVanDerWijdenholiman
authored andcommitted
cmd/utils: change blssync.JWTSecretFlag to DirectoryFlag (#30729)
closes #30304 We already use `DirectoryFlag` for `authrpc.jwtsecret` which expands the tilde, so this should work out of the box
1 parent b04d6c4 commit d01591c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/utils/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ var (
319319
Usage: "Target EL engine API URL",
320320
Category: flags.BeaconCategory,
321321
}
322-
BlsyncJWTSecretFlag = &cli.StringFlag{
322+
BlsyncJWTSecretFlag = &flags.DirectoryFlag{
323323
Name: "blsync.jwtsecret",
324324
Usage: "Path to a JWT secret to use for target engine API endpoint",
325325
Category: flags.BeaconCategory,

0 commit comments

Comments
 (0)