From 5a6d031a483827ed952f43e4406ed17f6fab0a44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20Hu=C3=9F?= Date: Wed, 28 Oct 2020 16:05:54 +0100 Subject: [PATCH] chore: add debugging --- src/openshift/isOpenShift.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/openshift/isOpenShift.js b/src/openshift/isOpenShift.js index 4384e4e..2cf6216 100644 --- a/src/openshift/isOpenShift.js +++ b/src/openshift/isOpenShift.js @@ -4,6 +4,9 @@ const openShiftAuth = require('./openShiftAuth') async function isOpenShift() { const settings = {} + console.debug( + `Checking for OpenShift cluster at ${this.credentials.kubernetes.endpoint}:${this.credentials.kubernetes.port}` + ) settings.config = openShiftAuth(this.credentials) const client = await openShiftRestClient(settings) // List all builds which should be successful