Method: DPL::Provider::Deis#check_auth

Defined in:
lib/dpl/provider/deis.rb

#check_authObject



19
20
21
22
23
24
25
# File 'lib/dpl/provider/deis.rb', line 19

def check_auth
  unless context.shell "./deis login #{option(:controller)}" \
                " --username=#{option(:username)}" \
                " --password=#{option(:password)}"
    error 'Login failed.'
  end
end