diff options
| author | Marwan Sulaiman <marwan@tailscale.com> | 2023-09-11 21:32:51 -0400 |
|---|---|---|
| committer | Marwan Sulaiman <marwan.sameer@gmail.com> | 2023-09-13 15:08:41 -0500 |
| commit | 3421784e3793f282669cd3edd2b49a1f8ccce46a (patch) | |
| tree | 3f3e15c95e221d792411334c96e115a3907cbeee /control/controlknobs/controlknobs.go | |
| parent | 6e66e5beeba0444edb4f716f55b05b0d395142b8 (diff) | |
| download | tailscale-3421784e3793f282669cd3edd2b49a1f8ccce46a.tar.xz tailscale-3421784e3793f282669cd3edd2b49a1f8ccce46a.zip | |
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>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions
