lib/connection.rb in forj-0.0.40 vs lib/connection.rb in forj-0.0.41
- old
+ new
@@ -35,10 +35,10 @@
def initialize(oConfig, bAutoConnect = true)
Logging.fatal(1, 'Internal Error: Missing global $HPC_ACCOUNTS') if not $HPC_ACCOUNTS
@oConfig = oConfig
- @sAccountName = @oConfig.get('account_name')
+ @sAccountName = @oConfig.get(:account_name)
@provider='HP' # TODO: Support multiple provider. (Generic Provider object required)
@sAccountName = @oConfig.get(:provider) if not @sAccountName
@sAccountName = 'hpcloud' if not @sAccountName
@credentials = get_credentials()