Skip to content

Commit b5218be

Browse files
committed
More CI happiness
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent 82ca13e commit b5218be

File tree

4 files changed

+74
-3
lines changed

4 files changed

+74
-3
lines changed

coderd/database/dbtime/dbtime.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ func Now() time.Time {
1010
// Time returns a time compatible with Postgres. Postgres only stores dates with
1111
// microsecond precision.
1212
// FIXME(dannyk): refactor all calls to Time() to expect the input time to be modified to UTC; there are currently a
13-
// few calls whose behaviour would change subtly.
14-
// See https://github.com/coder/coder/pull/14274#discussion_r1718427461
13+
//
14+
// few calls whose behavior would change subtly.
15+
// See https://github.com/coder/coder/pull/14274#discussion_r1718427461
1516
func Time(t time.Time) time.Time {
1617
return t.Round(time.Microsecond)
1718
}

provisioner/terraform/timings.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const (
4949
)
5050

5151
type timingAggregator struct {
52-
stage database.ProvisionerJobTimingStage
52+
stage database.ProvisionerJobTimingStage
5353

5454
// Protects the stateLookup map.
5555
lookupMu sync.Mutex

provisioner/terraform/timings_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build linux || darwin
2+
13
package terraform_test
24

35
import (

site/e2e/provisionerGenerated.ts

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy