Method: DPL::Provider::Deis#check_auth

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

#check_authObject



28
29
30
31
32
33
34
# File 'lib/dpl/provider/deis.rb', line 28

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