parse updates and tests
parent
9cc4ef4812
commit
e2c7fadd6a
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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" {
|
||||
|
|
Loading…
Reference in New Issue