From cef60f3ae52c639ac0d4daf2c350127385222c96 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Thu, 24 Oct 2019 10:14:39 -0700 Subject: [PATCH] Fix troubleshoot URL lookup (#7978) --- .../src/bigDataCluster/dialog/bdcDashboardModel.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/big-data-cluster/src/bigDataCluster/dialog/bdcDashboardModel.ts b/extensions/big-data-cluster/src/bigDataCluster/dialog/bdcDashboardModel.ts index 4edbb9d09f..76c419d714 100644 --- a/extensions/big-data-cluster/src/bigDataCluster/dialog/bdcDashboardModel.ts +++ b/extensions/big-data-cluster/src/bigDataCluster/dialog/bdcDashboardModel.ts @@ -99,7 +99,8 @@ export class BdcDashboardModel { * troubleshoot notebook if the service name is unknown. * @param service The service name to get the troubleshoot notebook URL for */ -export function getTroubleshootNotebookUrl(service: string): string { +export function getTroubleshootNotebookUrl(service?: string): string { + service = service || ''; switch (service.toLowerCase()) { case Service.sql: return 'troubleshooters/tsg101-troubleshoot-sql-server';