We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tailscale SSH defines the checkPeriod ACL field as either a duration or the string "always".
checkPeriod
"always".
In our client we are defining the field as just a Duration.
Duration
tailscale-client-go/tailscale/client.go
Line 485 in 04b7d00
tailscale-client-go/v2/policyfile.go
Line 107 in 04b7d00
This means that we fail to parse policy files that set checkPeriod to "always" with an error like:
"always"
time: invalid duration "always"
The text was updated successfully, but these errors were encountered:
I'd probably just document that negative means always.
Sorry, something went wrong.
@phinze Do we have any customers blocked on this?
No branches or pull requests
Tailscale SSH defines the
checkPeriod
ACL field as either a duration or the string"always".
In our client we are defining the field as just a
Duration
.tailscale-client-go/tailscale/client.go
Line 485 in 04b7d00
tailscale-client-go/v2/policyfile.go
Line 107 in 04b7d00
This means that we fail to parse policy files that set
checkPeriod
to"always"
with an error like:The text was updated successfully, but these errors were encountered: