parse updates and tests

pull/154/head
Karolis Rusenas 2018-03-03 23:19:50 +00:00
parent 9cc4ef4812
commit e2c7fadd6a
2 changed files with 2 additions and 2 deletions

View File

@ -4,12 +4,12 @@ import (
"context"
"fmt"
"github.com/rusenask/cron"
"github.com/keel-hq/keel/provider"
"github.com/keel-hq/keel/registry"
"github.com/keel-hq/keel/types"
"github.com/keel-hq/keel/util/image"
"github.com/keel-hq/keel/util/version"
"github.com/rusenask/cron"
log "github.com/sirupsen/logrus"
)

View File

@ -9,7 +9,7 @@ func TestShortParseWithTag(t *testing.T) {
reference, err := Parse("foo/bar:1.1")
if err != nil {
t.Errorf("error while parsing tag: %s", err)
t.Fatalf("error while parsing tag: %s", err)
}
if reference.Remote() != DefaultRegistryHostname+"/foo/bar:1.1" {