Fix parseApi not accepting versions that don't start with 'v' (#441)

* fix parseApi not accepting versions that don't start with 'v'

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
This commit is contained in:
Sebastian MaltonandSebastian Malton authored and GitHub committed 2020-06-11 13:19:01 -04:00
1 parent 5c5454166f
commit 00557c9940
9 files changed
+1956 -2477

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ export class PrometheusLens implements PrometheusProvider {
port: service.spec.ports[0].port
}
} catch(error) {
logger.warn(`PrometheusLens: failed to list services: ${error.toString()}`)
logger.warn(`PrometheusLens: failed to list services: ${error.response.body.message}`)
}
}