commit | c601463fd991b801ba6176a99ecf4351fc19f27c | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Fri Mar 17 10:00:36 2023 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Sat Mar 18 13:06:02 2023 +0000 |
tree | dea838643afb55ef200e9fad5596cb23e4e0bd93 | |
parent | 3a47a152fad6c8abf20529553cedefaebc85265d [diff] |
internal/sandbox: validate config Add Sandbox.Validate, to check the bundle's config.json. Most importantly, check that bind mount source directories exist. Make Output call Validate. Also call it from the worker, with logging to debug that it's happening. Change-Id: I53b93470dbc65eb8fb5c7d313b939e841f457d89 Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/477077 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com>
This repository contains code that serves pkg.go.dev/metrics.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/pkgsite-metrics:” in the subject line, so it is easy to find.