Rewrite Spark UI link when using unified connection (#4362)

* Rewrite Spark UI link when using unified connection

* Add more robust error checking
This commit is contained in:
Chris LaFreniere
2019-03-08 17:34:47 -08:00
committed by GitHub
parent 4d6271c161
commit 1e989060f9
9 changed files with 52 additions and 25 deletions

View File

@@ -101,6 +101,12 @@ export interface IStandardKernelWithProvider {
readonly notebookProvider: string;
}
export interface IEndpoint {
serviceName: string;
ipAddress: string;
port: number;
}
export function tryMatchCellMagic(input: string): string {
if (!input) {
return input;