refactor: put StripTagMeta into formatter package
Avoid circular import.
This commit is contained in:
@ -23,7 +23,7 @@ func getImagePath(image string) (string, error) {
|
||||
|
||||
path := reference.Path(img)
|
||||
|
||||
path = recipe.StripTagMeta(path)
|
||||
path = formatter.StripTagMeta(path)
|
||||
|
||||
logrus.Debugf("parsed %s from %s", path, image)
|
||||
|
||||
|
Reference in New Issue
Block a user