milvus/proxy/src/server/delivery/request/DropCollectionReq.cpp
zhenshan.cao 383da48ba1 Fix proxy logic
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-08-24 14:24:06 +08:00

37 lines
1.3 KiB
C++

// Copyright (C) 2019-2020 Zilliz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software distributed under the License
// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
// or implied. See the License for the specific language governing permissions and limitations under the License.
#include "server/delivery/request/DropCollectionReq.h"
#include "server/ValidationUtil.h"
#include "utils/Log.h"
#include "utils/TimeRecorder.h"
namespace milvus {
namespace server {
DropCollectionReq::DropCollectionReq(const ContextPtr& context, const std::string& collection_name)
: BaseReq(context, ReqType::kDropCollection), collection_name_(collection_name) {
}
BaseReqPtr
DropCollectionReq::Create(const ContextPtr& context, const std::string& collection_name) {
return std::shared_ptr<BaseReq>(new DropCollectionReq(context, collection_name));
}
Status
DropCollectionReq::OnExecute() {
return Status::OK();
}
} // namespace server
} // namespace milvus