In git.arvados.org/arvados.git/sdk/go/arvados, change the name of the
[arvados.git] / lib / crunchrun / logging_test.go
index fab333b433c04d52663f203d888f745fd02346c3..e3fa3af0bb275279c0d3e5c234da1618b63b40ee 100644 (file)
@@ -23,9 +23,9 @@ type TestTimestamper struct {
        count int
 }
 
-func (this *TestTimestamper) Timestamp(t time.Time) string {
-       this.count += 1
-       t, err := time.ParseInLocation(time.RFC3339Nano, fmt.Sprintf("2015-12-29T15:51:45.%09dZ", this.count), t.Location())
+func (stamper *TestTimestamper) Timestamp(t time.Time) string {
+       stamper.count++
+       t, err := time.ParseInLocation(time.RFC3339Nano, fmt.Sprintf("2015-12-29T15:51:45.%09dZ", stamper.count), t.Location())
        if err != nil {
                panic(err)
        }