lib/onboardbase.rb in onboardbase-1.1.9 vs lib/onboardbase.rb in onboardbase-1.2.0
- old
+ new
@@ -272,14 +272,14 @@
raise_if_missing_key: true
)
# secrets hash
encsecrets = YAML.load(credentials.read)
- encsecrets.keys.sort.each do |key|
- secrets[key.to_s] = encsecrets[key.to_s].to_s
+ secrets.keys.sort.each do |key|
+ encsecrets[key.to_s] = secrets[key.to_s].to_s
end
# Append all environment variable
- credentials.write(secrets.to_yaml)
+ credentials.write(encsecrets.to_yaml)
end
def loadSecrets
self.loadConfig
response = self.parseResponse?(self.makeRequest)
\ No newline at end of file