cmd/containerboot: fix some lint.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson 2022-12-05 15:38:36 -08:00 committed by Dave Anderson
parent c084c7d7ed
commit a469ec8ff6
2 changed files with 2 additions and 2 deletions

View File

@ -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,
},
}

View File

@ -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()