Method: Crowbar::Client::App::Repository#deactivate

Defined in:
lib/crowbar/client/app/repository.rb

#deactivate(platform, arch, repo) ⇒ Object



124
125
126
127
128
129
130
131
132
133
134
# File 'lib/crowbar/client/app/repository.rb', line 124

def deactivate(platform, arch, repo)
  Command::Repository::Deactivate.new(
    *command_params(
      platform: platform,
      arch: arch,
      repo: repo
    )
  ).execute
rescue => e
  catch_errors(e)
end