Unverified Commit 288b521d authored by Matt Butcher's avatar Matt Butcher Committed by Matt Farina
Browse files

fix: fixes for Go 1.14 (#7848)


Signed-off-by: default avatarMatt Butcher <matt.butcher@microsoft.com>
(cherry picked from commit 5f6269d0)
parent 89bd14c1
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -243,7 +243,7 @@ func TestErrorFindChartInRepoURL(t *testing.T) {
if err == nil {
t.Errorf("Expected error for bad chart URL, but did not get any errors")
}
if err != nil && !strings.Contains(err.Error(), `Looks like "http://someserver/something" is not a valid chart repository or cannot be reached: Get http://someserver/something/index.yaml`) {
if err != nil && !strings.Contains(err.Error(), `Looks like "http://someserver/something" is not a valid chart repository or cannot be reached`) {
t.Errorf("Expected error for bad chart URL, but got a different error (%v)", err)
}
......
......@@ -36,6 +36,7 @@ gometalinter.v1 \
--tests \
--vendor \
--deadline 60s \
--skip proto \
./... || exit_code=1
echo
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment