lib/buildbox/configuration.rb in buildbox-0.2.2 vs lib/buildbox/configuration.rb in buildbox-0.2.3

- old
+ new

@@ -3,11 +3,11 @@ require 'json' module Buildbox class Configuration < Hashie::Mash def agent_access_tokens - env_agents = ENV['BUILDBOX_WORKERS'] + env_agents = ENV['BUILDBOX_AGENTS'] if env_agents.nil? self[:agent_access_tokens] || [] else env_agents.to_s.split(",") @@ -22,10 +22,10 @@ ENV['BUILDBOX_API_ENDPOINT'] || self[:api_endpoint] || "https://api.buildbox.io/v1" end def check unless api_key - puts "No api_key set. You can set it with\nbuildbox authenticate [api_key]" + puts "No api_key set. You can set it with\nbuildbox auth:login [api_key]" exit 1 end end def update(attributes)