fix go 1.15 errors (#5277)

## Description

fix golang 1.15 errors. 

Closes: #XXX
This commit is contained in:
Marko
2020-08-24 12:26:05 +00:00
committed by GitHub
parent 7d3335d526
commit a6032f4183
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ func getServiceURL(rootURL string) (url, urnDomain string, err error) {
defer r.Body.Close()
if r.StatusCode >= 400 {
err = errors.New(string(r.StatusCode))
err = errors.New(string(rune(r.StatusCode)))
return
}
var root Root