mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-25 05:09:47 +00:00
arrow_up: Bump go in Earthly and workflows to ^1.20 (#1213)
* Bump go in Earthly and workflows to ^1.20 Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> * Update go.mod version Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> * Lint Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> * Remove pin of go version to get the latest Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> * Remove minor version Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> --------- Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
||||
"embed"
|
||||
"io"
|
||||
"io/fs"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"net/http"
|
||||
"os"
|
||||
@@ -210,7 +209,7 @@ func Start(ctx context.Context) error {
|
||||
args = append(args, "--device", installationDevice)
|
||||
|
||||
// create tempfile to store cloud-config, bail out if we fail as we couldn't go much further
|
||||
file, err := ioutil.TempFile("", "install-webui")
|
||||
file, err := os.CreateTemp("", "install-webui")
|
||||
if err != nil {
|
||||
log.Fatalf("could not create tmpfile for cloud-config: %s", err.Error())
|
||||
}
|
||||
|
Reference in New Issue
Block a user