aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/distributor/operationtargetresolver.cpp
blob: 28755ad9e4d0aca76cc2b85c6066152cc93a562b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "operationtargetresolver.h"
#include <vespa/vespalib/stllike/asciistream.h>

namespace storage::distributor {

void
OperationTarget::print(vespalib::asciistream& out, const PrintProperties&) const {
    out << "OperationTarget(" << _bucket.toString() << ", " << _node
        << (_newCopy ? ", new copy" : ", existing copy") << ")";
}

}