From fb75b4c35026f61dd52f398361d63e93ba84fb5a Mon Sep 17 00:00:00 2001 From: Michael Davis <michael.davis@cern.ch> Date: Fri, 8 Sep 2017 14:53:51 +0200 Subject: [PATCH] [eos_cta] Changes "delete" to "deletearchive" in eoscta_stub --- cmdline/EosCtaStub.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmdline/EosCtaStub.cpp b/cmdline/EosCtaStub.cpp index ec55ba8e34..cc4920b98e 100644 --- a/cmdline/EosCtaStub.cpp +++ b/cmdline/EosCtaStub.cpp @@ -53,7 +53,7 @@ void RequestCallback<cta::xrd::Alert>::operator()(const cta::xrd::Alert &alert) //! Usage exception -const std::runtime_error Usage("Usage: eoscta_stub archive|retrieve|delete [options] [--stderr]"); +const std::runtime_error Usage("Usage: eoscta_stub archive|retrieve|deletearchive [options] [--stderr]"); @@ -198,7 +198,7 @@ void fillNotification(cta::eos::Notification ¬ification, bool &isStderr, bool { notification.mutable_wf()->set_event(cta::eos::Workflow::PREPARE); } - else if(wf_command == "delete") + else if(wf_command == "deletearchive") { notification.mutable_wf()->set_event(cta::eos::Workflow::DELETE); } -- GitLab