diff --git a/src/main/java/io/seqera/tower/cli/commands/runs/DumpCmd.java b/src/main/java/io/seqera/tower/cli/commands/runs/DumpCmd.java index b38ed1cb..17dab373 100644 --- a/src/main/java/io/seqera/tower/cli/commands/runs/DumpCmd.java +++ b/src/main/java/io/seqera/tower/cli/commands/runs/DumpCmd.java @@ -179,7 +179,7 @@ private void dumpWorkflowDetails(PrintWriter progress, TarArchiveOutputStream ou File nextflowLog = api().downloadWorkflowLog(workflow.getId(), String.format("nf-%s.log", workflow.getId()), wspId); addFile(out, "nextflow.log", nextflowLog); } catch (ApiException e) { - // Ignore error 404 that means that the file it is no longer available + // Ignore error 404 that means that the file is no longer available if (e.getCode() != 404) { throw e; } @@ -210,7 +210,7 @@ private void addTaskLogs(PrintWriter progress, TarArchiveOutputStream out, Long File taskOut = api().downloadWorkflowTaskLog(workflowId, task.getTaskId(), ".command.out", wspId); addFile(out, String.format("tasks/%d/.command.out", task.getTaskId()), taskOut); } catch (ApiException e) { - // Ignore error 404 that means that the file it is no longer available + // Ignore error 404 that means that the file is no longer available if (e.getCode() != 404) { throw e; } @@ -220,7 +220,7 @@ private void addTaskLogs(PrintWriter progress, TarArchiveOutputStream out, Long File taskOut = api().downloadWorkflowTaskLog(workflowId, task.getTaskId(), ".command.err", wspId); addFile(out, String.format("tasks/%d/.command.err", task.getTaskId()), taskOut); } catch (ApiException e) { - // Ignore error 404 that means that the file it is no longer available + // Ignore error 404 that means that the file is no longer available if (e.getCode() != 404) { throw e; } @@ -230,7 +230,7 @@ private void addTaskLogs(PrintWriter progress, TarArchiveOutputStream out, Long File taskOut = api().downloadWorkflowTaskLog(workflowId, task.getTaskId(), ".command.log", wspId); addFile(out, String.format("tasks/%d/.command.log", task.getTaskId()), taskOut); } catch (ApiException e) { - // Ignore error 404 that means that the file it is no longer available + // Ignore error 404 that means that the file is no longer available if (e.getCode() != 404) { throw e; } @@ -242,7 +242,7 @@ private void addTaskLogs(PrintWriter progress, TarArchiveOutputStream out, Long File taskOut = api().downloadWorkflowTaskLog(workflowId, task.getTaskId(), ".fusion.log", wspId); addFile(out, String.format("tasks/%d/.fusion.log", task.getTaskId()), taskOut); } catch (ApiException e) { - // Ignore error 404 that means that the file it is no longer available + // Ignore error 404 that means that the file is no longer available if (e.getCode() != 404) { throw e; } diff --git a/src/main/java/io/seqera/tower/cli/responses/InfoResponse.java b/src/main/java/io/seqera/tower/cli/responses/InfoResponse.java index b39a4d2e..4f9b876c 100644 --- a/src/main/java/io/seqera/tower/cli/responses/InfoResponse.java +++ b/src/main/java/io/seqera/tower/cli/responses/InfoResponse.java @@ -59,9 +59,9 @@ public void toString(PrintWriter out) { if (connectionCheck == 0) { if (opts.get("towerApiEndpoint").contains("/api")) { - out.println(ansi(String.format("%n @|bold,fg(red) Tower API URL %s it is not available|@%n", opts.get("towerApiEndpoint")))); + out.println(ansi(String.format("%n @|bold,fg(red) Tower API URL %s is not available|@%n", opts.get("towerApiEndpoint")))); } else { - out.println(ansi(String.format("%n @|bold,fg(red) Tower API URL %s it is not available (did you mean %s/api?)|@%n", opts.get("towerApiEndpoint"), opts.get("towerApiEndpoint")))); + out.println(ansi(String.format("%n @|bold,fg(red) Tower API URL %s is not available (did you mean %s/api?)|@%n", opts.get("towerApiEndpoint"), opts.get("towerApiEndpoint")))); } }