mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
Fix linter errors after go 1.20
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package dashboard
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"net/url"
|
||||
@@ -34,7 +33,7 @@ func TestMain(m *testing.M) { // fixture to set logging level via env variable
|
||||
}
|
||||
|
||||
inMemStorage = storage.Init(driver.NewMemory())
|
||||
d, err := ioutil.TempDir("", "helm")
|
||||
d, err := os.MkdirTemp("", "helm")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user