Commit 215dc493 authored by Ramon Nou's avatar Ramon Nou Committed by Ramon Nou
Browse files

updated docker image

parent 72fe3341
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -303,8 +303,6 @@ struct adhoc_storage {
    name() const;
    type
    type() const;
    std::string
    type_tostr() const;
    std::uint64_t
    id() const;
    adhoc_storage::ctx const&
+0 −17
Original line number Diff line number Diff line
@@ -867,23 +867,6 @@ adhoc_storage::type() const {
    return m_pimpl->type();
}

std::string
adhoc_storage::type_tostr() const {
    switch(m_pimpl->type()) {
        case adhoc_storage::type::hercules:
            return "Hercules";
        case adhoc_storage::type::dataclay:
            return "DataClay";
        case adhoc_storage::type::gekkofs:
            return "GekkoFS";
        case adhoc_storage::type::expand:
            return "Expand";
        default:
            return "Unknown";
    }
    return "Unknown";
}

std::uint64_t
adhoc_storage::id() const {
    return m_pimpl->id();
+1 −1
Original line number Diff line number Diff line
@@ -238,7 +238,7 @@ rpc_server::register_job(const network::request& req,
            const auto timestamp =
                    std::chrono::system_clock::now().time_since_epoch().count();
            auto name = ec->get()->adhoc_storage().name();
            auto type = ec->get()->adhoc_storage().type_tostr();
            std::string type = fmt::format("{}",ec->get()->adhoc_storage().type());

            std::unordered_map<std::string, std::string> m = {
                    {"timestamp", std::to_string(timestamp)},