Browse Source

tailcfg: add missing omitempty annotation to PopBrowserURL

Change-Id: I8e752afd5bf009c17aae1b53650479b37c3232bd
Signed-off-by: Brad Fitzpatrick <[email protected]>
Brad Fitzpatrick 3 years ago
parent
commit
2491fe1afe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tailcfg/tailcfg.go

+ 1 - 1
tailcfg/tailcfg.go

@@ -1209,7 +1209,7 @@ type MapResponse struct {
 	// PopBrowserURL, if non-empty, is a URL for the client to
 	// open to complete an action. The client should dup suppress
 	// identical URLs and only open it once for the same URL.
-	PopBrowserURL string
+	PopBrowserURL string `json:",omitempty"`
 
 	// Networking