`invite_token_validity_period`
# kolide
g
invite_token_validity_period
d
@groob So the docs state that the format should be
1d
, but I get errors (InvalidArgument) when I do that. It looks like I should just use an integer, but not sure if this means hours, days... ?
g
can you paste the full error. 1d sounds like it should work to me
let me see the code
d
panic: Unable to cast to duration for key app.invite_token_validity_period: time: unknown unit dns in duration 1dns
g
1d
not,
1dns
?
d
That is the error, and I have confirmed that my config is
1d
g
can you try
24h
instead?
d
that works
g
this is an interesting bug, thanks!
d
🙂
Ok, so for now, I should specify hours?
g
ah, confirmed
<https://play.golang.org/p/br_gVB_IKXK>
👍 1
🍻 1