fixed testcase

Signed-off-by: Matthias Riegler <me@xvzf.tech>
pull/7254/head
Matthias Riegler 6 years ago
parent 1d380bd65f
commit 393fd5fe17

@ -19,6 +19,7 @@ package repo // import "helm.sh/helm/v3/pkg/repo"
import (
"crypto/rand"
"encoding/base64"
"encoding/json"
"fmt"
"io/ioutil"
"net/url"
@ -262,3 +263,8 @@ func ResolveReferenceURL(baseURL, refURL string) (string, error) {
parsedBaseURL.Path = strings.TrimSuffix(parsedBaseURL.Path, "/") + "/"
return parsedBaseURL.ResolveReference(parsedRefURL).String(), nil
}
func (e *Entry) String() string {
buf, _ := json.Marshal(e)
return string(buf)
}

Loading…
Cancel
Save