mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-24 18:51:18 -08:00
cmd/containerboot: fix some lint.
Signed-off-by: David Anderson <[email protected]>
(cherry picked from commit a469ec8ff6)
This commit is contained in:
1 parent
682abd94ba
commit
97e3919a83
2 files changed
+2
-2
No files matched your search
@@ -84,7 +84,7 @@ func storeDeviceID(ctx context.Context, secretName, deviceID string) error {
|
||||
}
|
||||
|
||||
m := map[string]map[string]string{
|
||||
"stringData": map[string]string{
|
||||
"stringData": {
|
||||
"device_id": deviceID,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -688,7 +688,7 @@ func (k *kubeServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
case "GET":
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
ret := map[string]map[string]string{
|
||||
"data": map[string]string{},
|
||||
"data": {},
|
||||
}
|
||||
k.Lock()
|
||||
defer k.Unlock()
|
||||
|
||||
Reference in new issue
Block a user