Skip to content

Commit

Permalink
tab -> space
Browse files Browse the repository at this point in the history
  • Loading branch information
o-mura committed Oct 22, 2021
1 parent dab5add commit e631fad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions digdag-cli/src/main/java/io/digdag/cli/client/ShowWorkflow.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class ShowWorkflow
{
@Parameter(names = {"--last-id"})
Id lastId = null;
@Parameter(names = {"--count"})
int count = 100;

Expand All @@ -45,9 +45,9 @@ public void mainWithClientException()
public SystemExitException usage(String error)
{
err.println("Usage: " + programName + " workflows [project-name] [name]");
err.println(" Options:");
err.println(" --count number number of workflows");
err.println(" --lastid id last id of workflow");
err.println(" Options:");
err.println(" --count number number of workflows");
err.println(" --lastid id last id of workflow");
showCommonOptions();
return systemExit(error);
}
Expand All @@ -65,7 +65,7 @@ private void showWorkflows(String projName)
}
}
else {
List<RestWorkflowDefinition> defs = client.getWorkflowDefinitions(Optional.fromNullable(lastId), count).getWorkflows();
List<RestWorkflowDefinition> defs = client.getWorkflowDefinitions(Optional.fromNullable(lastId), count).getWorkflows();
String lastProjName = null;
for (RestWorkflowDefinition def : defs) {
if (!def.getProject().getName().equals(lastProjName)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ public RestWorkflowDefinitionCollection getWorkflowDefinitions(Optional<Id> last
{
return doGet(RestWorkflowDefinitionCollection.class,
target("/api/workflows")
.queryParam("last_id", lastId.orNull())
.queryParam("count", count));
.queryParam("last_id", lastId.orNull())
.queryParam("count", count));
}

public RestWorkflowDefinitionCollection getWorkflowDefinitions(Id projId)
Expand Down

0 comments on commit e631fad

Please sign in to comment.