Buh
This commit is contained in:
parent
c06533e147
commit
56b381585c
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) {
|
||||||
|
|
||||||
@NonCPS
|
@NonCPS
|
||||||
def getConfig() {
|
def getConfig() {
|
||||||
return new Yaml(new Constructor(HashMap)).load(readFile("deployment/config.yaml"))
|
return new Yaml().loadAs(readFile("deployment/config.yaml"), HashMap)
|
||||||
}
|
}
|
||||||
|
|
||||||
node() {
|
node() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue