mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
tailcfg: improve error returned by Hostinfo.CheckRequestTags
That's what I get for pushing too fast. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
parent
fb9f80cd61
commit
946c1edb42
@ -264,9 +264,8 @@ func (h *Hostinfo) CheckRequestTags() error {
|
||||
return nil
|
||||
}
|
||||
for _, tag := range h.RequestTags {
|
||||
err := CheckTag(tag)
|
||||
if err != nil {
|
||||
return err
|
||||
if err := CheckTag(tag); err != nil {
|
||||
return fmt.Errorf("tag(%#v): %w", tag, err)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user