all: fix some comments Change-Id: I8a7029dc00f15b7e74e9f4192aff65fc6fdb69d7 Reviewed-on: https://go-review.googlesource.com/c/playground/+/713321 Auto-Submit: Robert Findley <rfindley@google.com> Auto-Submit: Sean Liao <sean@liao.dev> Reviewed-by: Sean Liao <sean@liao.dev> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Robert Findley <rfindley@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
diff --git a/internal/gcpdial/gcpdial.go b/internal/gcpdial/gcpdial.go index c9d4dce..2b31008 100644 --- a/internal/gcpdial/gcpdial.go +++ b/internal/gcpdial/gcpdial.go
@@ -286,7 +286,7 @@ } // TODO: pagination for really large sets? Currently we truncate the results // to the first 500 VMs, which seems like plenty for now. - // 500 is the maximum the API supports; see: + // 500 is the maximum that the API supports; see: // https://pkg.go.dev/google.golang.org/api/compute/v1?tab=doc#RegionInstanceGroupsListInstancesCall.MaxResults for _, it := range insts.Items { ret = append(ret, it.Instance)
diff --git a/sandbox.go b/sandbox.go index 0e1411a..6e49999 100644 --- a/sandbox.go +++ b/sandbox.go
@@ -129,7 +129,7 @@ return } if strings.Contains(resp.Errors, goBuildTimeoutError) || strings.Contains(resp.Errors, runTimeoutError) { - // TODO(golang.org/issue/38576) - This should be a http.StatusBadRequest, + // TODO(golang.org/issue/38576) - This should be an http.StatusBadRequest, // but the UI requires a 200 to parse the response. It's difficult to know // if we've timed out because of an error in the code snippet, or instability // on the playground itself. Either way, we should try to show the user the
diff --git a/sandbox/sandbox.go b/sandbox/sandbox.go index 45fca98..29c4671 100644 --- a/sandbox/sandbox.go +++ b/sandbox/sandbox.go
@@ -215,7 +215,7 @@ func parseDockerContainers(b []byte) ([]dockerContainer, error) { // Parse the output to ensure it is well-formatted in the structure we expect. var containers []dockerContainer - // Each output line is it's own JSON object, so unmarshal one line at a time. + // Each output line is its own JSON object, so unmarshal one line at a time. scanner := bufio.NewScanner(bytes.NewReader(b)) for scanner.Scan() { var do dockerContainer