We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2e6cd0 commit 84d510fCopy full SHA for 84d510f
1 file changed
pkg/connectors/microcks_client.go
@@ -56,6 +56,10 @@ type microcksClient struct {
56
func NewMicrocksClient(apiURL string) MicrocksClient {
57
mc := microcksClient{}
58
59
+ if !strings.HasSuffix(apiURL, "/") {
60
+ apiURL += "/"
61
+ }
62
+
63
u, err := url.Parse(apiURL)
64
if err != nil {
65
panic(err)
0 commit comments