diff options
| author | Marwan Sulaiman <marwan@tailscale.com> | 2023-09-13 18:41:15 -0500 |
|---|---|---|
| committer | Marwan Sulaiman <marwan.sameer@gmail.com> | 2023-09-14 10:22:38 -0500 |
| commit | f3a5bfb1b9a0b4c5c352ce4e1732b1fdcab3a8d1 (patch) | |
| tree | cf121e9d5bc3247a806442ee031059e38385bf7e /control/controlknobs/controlknobs.go | |
| parent | 7ce1c6f981e7adf96c61210b74a4629e2f5c6444 (diff) | |
| download | tailscale-f3a5bfb1b9a0b4c5c352ce4e1732b1fdcab3a8d1.tar.xz tailscale-f3a5bfb1b9a0b4c5c352ce4e1732b1fdcab3a8d1.zip | |
cmd/tailscale/cli: add set serve validations
This PR adds validations for the new new funnel/serve
commands under the following rules:
1. There is always a single config for one port (bg or fg).
2. Foreground configs under the same port cannot co-exists (for now).
3. Background configs can change as long as the serve type is the same.
Updates #8489
Signed-off-by: Marwan Sulaiman <marwan@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions
