mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
14 lines
170 B
Go
14 lines
170 B
Go
|
package orchestrator
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
"strings"
|
||
|
)
|
||
|
|
||
|
func resetEnv(e []string) {
|
||
|
for _, val := range e {
|
||
|
tmp := strings.Split(val, "=")
|
||
|
os.Setenv(tmp[0], tmp[1])
|
||
|
}
|
||
|
}
|