Add message size in chars and bytes (#1100)

* Add message size in chars and bytes

* Log hash of message body
This commit is contained in:
jeff
2021-06-10 12:58:56 -07:00
committed by GitHub
parent a1bcd5996b
commit 42fe704132
4 changed files with 6 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ namespace GitHub.Runner.Worker.Container
{
base.Initialize(hostContext);
DockerPath = WhichUtil.Which("docker", true, Trace);
DockerInstanceLabel = IOUtil.GetPathHash(hostContext.GetDirectory(WellKnownDirectory.Root)).Substring(0, 6);
DockerInstanceLabel = IOUtil.GetSha256Hash(hostContext.GetDirectory(WellKnownDirectory.Root)).Substring(0, 6);
}
public async Task<DockerVersion> DockerVersion(IExecutionContext context)