Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ public void openPipeline(PipelineID pipelineId) throws IOException {
}
if (pipeline.getPipelineState() == Pipeline.PipelineState.ALLOCATED) {
LOG.info("Pipeline {} moved to OPEN state", pipeline);
stateManager.updatePipelineState(pipelineId.getProtobuf(),
HddsProtos.PipelineState.PIPELINE_OPEN);
stateManager.updatePipelineState(
pipelineId.getProtobuf(), HddsProtos.PipelineState.PIPELINE_OPEN);
}
metrics.incNumPipelineCreated();
metrics.createPerPipelineMetrics(pipeline);
Expand Down Expand Up @@ -349,8 +349,8 @@ private void finalizePipeline(PipelineID pipelineId) throws IOException {
try {
Pipeline pipeline = stateManager.getPipeline(pipelineId);
if (!pipeline.isClosed()) {
stateManager.updatePipelineState(pipelineId.getProtobuf(),
HddsProtos.PipelineState.PIPELINE_CLOSED);
stateManager.updatePipelineState(
pipelineId.getProtobuf(), HddsProtos.PipelineState.PIPELINE_CLOSED);
LOG.info("Pipeline {} moved to CLOSED state", pipeline);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ public void removePipeline(HddsProtos.PipelineID pipelineIDProto)
}

@Override
public void updatePipelineState(HddsProtos.PipelineID pipelineIDProto,
HddsProtos.PipelineState newState)
public void updatePipelineState(
HddsProtos.PipelineID pipelineIDProto, HddsProtos.PipelineState newState)
throws IOException {
throw new IOException("Not supported.");
}
Expand Down

This file was deleted.

Loading