From a1e2da3b765b65b7710bd54f6ed18845f8e7fc13 Mon Sep 17 00:00:00 2001 From: James Nugent Date: Thu, 21 Jun 2018 18:05:55 -0500 Subject: [PATCH] build: Use canonical import path for `mobytime` This change fixes the following warning issued by using `go get` with the Pulumi repository: package github.com/moby/moby/api/types/time: code in directory /Users/James/Code/go/src/github.com/moby/moby/api/types/time expects import "github.com/docker/docker/api/types/time" Moby defines canonical import paths [1] reflecting the lineage back to the `docker/docker` repository. [1]: https://github.com/moby/moby/blob/master/api/types/time/duration_convert.go#L1 --- cmd/logs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/logs.go b/cmd/logs.go index 121e3229e..3c3e97940 100644 --- a/cmd/logs.go +++ b/cmd/logs.go @@ -18,7 +18,7 @@ import ( "fmt" "time" - mobytime "github.com/moby/moby/api/types/time" + mobytime "github.com/docker/docker/api/types/time" "github.com/pkg/errors" "github.com/spf13/cobra"