Skip to content

Commit

Permalink
issue #49 - fix impact on openstack commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ggiamarchi committed Aug 2, 2014
1 parent 909bd14 commit 3a18577
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def call(env)
override_endpoint_catalog_with_user_config(env)
log_endpoint_catalog(env)
end
@app.call(env)
@app.call(env) unless @app.nil?
end

private
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ def execute(name)
env[:ui] = @env.ui
end

client = VagrantPlugins::Openstack
client.keystone.authenticate(env)
env[:openstack_client] = client
VagrantPlugins::Openstack::Action::ConnectOpenstack.new(nil, env).call(env)

cmd(name, @argv, env)
end
Expand Down

0 comments on commit 3a18577

Please sign in to comment.