Updated orborus & worker to use config the same way

This commit is contained in:
Frikky
2024-05-31 14:57:27 +02:00
parent f4752290fb
commit 35cf1132c8
4 changed files with 66 additions and 107 deletions
+2 -2
View File
@@ -4,13 +4,13 @@ go 1.22.0
toolchain go1.22.2
replace github.com/shuffle/shuffle-shared => ../../../../shuffle-shared
//replace github.com/shuffle/shuffle-shared => ../../../../shuffle-shared
require (
github.com/docker/docker v26.1.0+incompatible
github.com/docker/go-connections v0.5.0
github.com/satori/go.uuid v1.2.0
github.com/shuffle/shuffle-shared v0.6.29
github.com/shuffle/shuffle-shared v0.6.37
k8s.io/api v0.30.0
k8s.io/apimachinery v0.30.0
k8s.io/client-go v0.30.0
+1 -1
View File
@@ -678,7 +678,7 @@ func deployWorker(image string, identifier string, env []string, executionReques
}
clientset, config, err := shuffle.GetKubernetesClient()
clientset, _, err := shuffle.GetKubernetesClient()
if err != nil {
log.Printf("[ERROR] Error getting kubernetes client:", err)
return err