aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/distributor/operationtargetresolver.cpp
blob: 62be9e4712541fb9a4c22b3af706a9aa082f1234 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Yahoo. 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") << ")";
}

}