fix(api): address base paths containing a v1 were being truncated

This commit is contained in:
Irena Rindos committed 2022-02-16 10:15:02 -05:00
1 parent e4d1e501cf
commit a6f50e675c
2 files changed
+7 -1

No files matched your search

+6
View File
@@ -57,6 +57,12 @@ func TestConfigSetAddress(t *testing.T) {
"http://127.0.0.1:9200/my-install",
"",
},
{
"valid project path containing v1",
"http://127.0.0.1:9200/randomPathHasv1InIt",
"http://127.0.0.1:9200/randomPathHasv1InIt",
"",
},
}
for _, v := range tests {