lib/uffizzi/cli/project.rb in uffizzi-cli-0.5.2 vs lib/uffizzi/cli/project.rb in uffizzi-cli-0.6.0
- old
+ new
@@ -32,11 +32,11 @@
handle_list_command
end
end
def handle_list_command
- hostname = ConfigFile.read_option(:hostname)
- response = fetch_projects(hostname)
+ server = ConfigFile.read_option(:server)
+ response = fetch_projects(server)
if ResponseHelper.ok?(response)
handle_succeed_response(response)
else
ResponseHelper.handle_failed_response(response)