Skip to content

Commit

Permalink
add new line characters
Browse files Browse the repository at this point in the history
  • Loading branch information
IslaL authored Apr 23, 2024
1 parent daf2ece commit 94c9daf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions onc/+onc/OncDelivery.m
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@
filters = struct('method', 'cancel', 'token', this.token, 'dpRequestId', dpRequestId);
[response, info] = this.doRequest(url, filters);
if isfield(response, 'status') && strcmp(response.status, 'cancelled') && info.status == 200
fprintf("The data product with request id %d and run id %d has been successfully cancelled\n", dpRequestId, response.dpRunId);
fprintf("The data product with request id %d and run id %d has been successfully cancelled.\n", dpRequestId, response.dpRunId);
else
fprintf("Failed to cancel the data Product.");
fprintf("Failed to cancel the data Product.\n");
end
end

Expand Down Expand Up @@ -222,9 +222,9 @@
filters = struct('method', 'restart', 'token', this.token, 'dpRequestId', dpRequestId);
[response, info] = this.doRequest(url, filters);
if isfield(response, 'status') && (strcmp(response.status, 'data product running') || strcmp(response.status, 'queued')) && info.status == 200
fprintf("The data product with request id %d and run id %d has been successfully restarted\n", dpRequestId, response.dpRunId);
fprintf("The data product with request id %d and run id %d has been successfully restarted.\n", dpRequestId, response.dpRunId);
else
fprintf("Failed to restart the data product");
fprintf("Failed to restart the data product.\n");
end
if waitComplete
[response, info] = this.runDataProduct(dpRequestId, true);
Expand Down

0 comments on commit 94c9daf

Please sign in to comment.