Skip to content

Commit

Permalink
Update src/Runner.Worker/JobExtension.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Ross Brodbeck <hross@users.noreply.github.com>
  • Loading branch information
TingluoHuang and hross authored Jan 5, 2021
1 parent 1441689 commit 86f6f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Runner.Worker/JobExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ private async Task CheckDiskSpaceAsync(IExecutionContext context, CancellationTo
var freeSpaceInMB = driveInfo.AvailableFreeSpace / 1024 / 1024;
if (freeSpaceInMB < 100) // Add warning when disk is lower than 100 MB
{
var issue = new Issue() { Type = IssueType.Warning, Message = $"You are running out of disk space, the runner will stop working when machine run out of disk space, free space left: {freeSpaceInMB} MB" };
var issue = new Issue() { Type = IssueType.Warning, Message = $"You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: {freeSpaceInMB} MB" };
issue.Data[Constants.Runner.InternalTelemetryIssueDataKey] = Constants.Runner.LowDiskSpace;
context.AddIssue(issue);
return;
Expand Down

0 comments on commit 86f6f87

Please sign in to comment.