mirror of
https://github.com/mudler/luet.git
synced 2025-09-12 21:33:31 +00:00
Use API also when pulling from helpers used in client
This commit is contained in:
@@ -27,9 +27,9 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/mudler/luet/pkg/helpers"
|
||||
fileHelper "github.com/mudler/luet/pkg/helpers/file"
|
||||
|
||||
"github.com/mudler/luet/pkg/helpers/docker"
|
||||
"github.com/mudler/luet/pkg/helpers/match"
|
||||
version "github.com/mudler/luet/pkg/versioner"
|
||||
|
||||
@@ -350,7 +350,7 @@ func (p *DefaultPackage) GetPackageName() string {
|
||||
}
|
||||
|
||||
func (p *DefaultPackage) ImageID() string {
|
||||
return docker.StripInvalidStringsFromImage(p.GetFingerPrint())
|
||||
return helpers.SanitizeImageString(p.GetFingerPrint())
|
||||
}
|
||||
|
||||
// GetBuildTimestamp returns the package build timestamp
|
||||
|
Reference in New Issue
Block a user