refactor: put StripTagMeta into formatter package
Avoid circular import.
This commit is contained in:
@ -143,7 +143,7 @@ func getImageVersions(recipe recipe.Recipe) (map[string]string, error) {
|
||||
|
||||
path := reference.Path(img)
|
||||
|
||||
path = recipePkg.StripTagMeta(path)
|
||||
path = formatter.StripTagMeta(path)
|
||||
|
||||
var tag string
|
||||
switch img.(type) {
|
||||
|
Reference in New Issue
Block a user