Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit 404f23d

Browse files
author
David Chung
authored
fix broken build (#712)
Signed-off-by: David Chung <[email protected]>
1 parent 49f1bae commit 404f23d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ machine:
77
environment:
88
OS: "linux"
99
ARCH: "amd64"
10-
GOVERSION: "1.8.1"
10+
GOVERSION: "1.9"
1111
GOPATH: "$HOME/.go_workspace"
1212
WORKDIR: "$GOPATH/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME"
1313
E2E_CLEANUP: "false"

pkg/rpc/client/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ func New(address string, api spi.InterfaceSpec) (Client, error) {
4949
cl := &handshakingClient{client: unvalidatedClient, iface: api, lock: &sync.Mutex{}}
5050
// check handshake
5151
if err := cl.handshake(); err != nil {
52+
log.Error("handshaking", "err", err)
5253
// Note - we still return the client with the possibility of doing a handshake later on
5354
// if we provide an api for the plugin to recheck later. This way, individual components
5455
// can stay running and recalibrate themselves after the user has corrected the problems.

pkg/spi/event/types_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func TestEncodeDecode(t *testing.T) {
4343
event2 := Event{}
4444
err := any2.Decode(&event2)
4545
require.NoError(t, err)
46-
require.Equal(t, event.Timestamp.String(), event2.Timestamp.String())
46+
require.Equal(t, event.Timestamp.Unix(), event2.Timestamp.Unix())
4747
require.Equal(t, event.Data, event2.Data)
4848
require.Equal(t, any.Bytes(), types.AnyValueMust(event2).Bytes())
4949

0 commit comments

Comments
 (0)