You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/client/tailscale
Marwan Sulaiman 3421784e37 cmd/tailscale/cli: use optimistic concurrency control on SetServeConfig
This PR uses the etag/if-match pattern to ensure multiple calls
to SetServeConfig are synchronized. It currently errors out and
asks the user to retry but we can add occ retries as a follow up.

Updates #8489

Signed-off-by: Marwan Sulaiman <marwan@tailscale.com>
2 years ago
..
apitype tailcfg: rename prototype field to reflect its status 2 years ago
example/servetls all: update copyright and license headers 3 years ago
acl.go client/tailscale: add warnings slice to ACLTestFailureSummary 2 years ago
devices.go client/tailscale: support deauthorizing a device 3 years ago
dns.go various: add golangci-lint, fix issues (#7905) 3 years ago
keys.go client/tailscale: revert CreateKey API change, add Client.CreateKeyWithExpiry 3 years ago
localclient.go cmd/tailscale/cli: use optimistic concurrency control on SetServeConfig 2 years ago
localclient_test.go all: update copyright and license headers 3 years ago
required_version.go all: require Go 1.21 2 years ago
routes.go all: update copyright and license headers 3 years ago
tailnet.go all: update copyright and license headers 3 years ago
tailscale.go all: update copyright and license headers 3 years ago