mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-27 10:47:35 +00:00
cmd/containerboot: fix some lint.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
c084c7d7ed
commit
a469ec8ff6
@ -84,7 +84,7 @@ func storeDeviceID(ctx context.Context, secretName, deviceID string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
m := map[string]map[string]string{
|
m := map[string]map[string]string{
|
||||||
"stringData": map[string]string{
|
"stringData": {
|
||||||
"device_id": deviceID,
|
"device_id": deviceID,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -688,7 +688,7 @@ func (k *kubeServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||||||
case "GET":
|
case "GET":
|
||||||
w.Header().Set("Content-Type", "application/json")
|
w.Header().Set("Content-Type", "application/json")
|
||||||
ret := map[string]map[string]string{
|
ret := map[string]map[string]string{
|
||||||
"data": map[string]string{},
|
"data": {},
|
||||||
}
|
}
|
||||||
k.Lock()
|
k.Lock()
|
||||||
defer k.Unlock()
|
defer k.Unlock()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user