projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 8079-api-client-auth-uuid
[arvados.git]
/
services
/
api
/
script
/
salvage_collection.rb
diff --git
a/services/api/script/salvage_collection.rb
b/services/api/script/salvage_collection.rb
index 3212d8862d218fdc39b3f4bbe087297f6f1934bb..7ef98bb7c8571ec8a6f64f4eb4a8906d25c52361 100755
(executable)
--- a/
services/api/script/salvage_collection.rb
+++ b/
services/api/script/salvage_collection.rb
@@
-12,6
+12,7
@@
require 'trollop'
require './lib/salvage_collection'
require 'trollop'
require './lib/salvage_collection'
+include SalvageCollection
opts = Trollop::options do
banner ''
opts = Trollop::options do
banner ''
@@
-23,9
+24,4
@@
opts = Trollop::options do
end
# Salvage the collection with the given uuid
end
# Salvage the collection with the given uuid
-begin
- SalvageCollection.salvage_collection opts.uuid, opts.reason
-rescue => e
- $stderr.puts "Error during arv-put"
- exit 1
-end
+SalvageCollection.salvage_collection opts.uuid, opts.reason