1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-07-12 22:21:40 +02:00

Update Go dependencies and minimal Go version to 1.20 (#1650)

Signed-off-by: 6543 <6543@obermui.de>
Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
Lauris BH
2023-03-21 01:48:15 +02:00
committed by GitHub
parent 60733c5cb9
commit 46452fbd84
29 changed files with 251 additions and 224 deletions

View File

@ -36,7 +36,7 @@ func getClientOutOfCluster() (kubernetes.Interface, error) {
// use the current context in kubeconfig
config, err := clientcmd.BuildConfigFromFlags("", kubeconfigPath)
if err != nil {
panic(err.Error())
return nil, err
}
return kubernetes.NewForConfig(config)