15672: Fixes a couple tests.
[arvados.git] / src / websocket / websocket.ts
index e7ea3016c9a50038d4dcb8a5d3e832d93a02daf7..d10414616a359982c1e9d77d010e8327062fe620 100644 (file)
@@ -13,7 +13,6 @@ import { loadContainers } from '~/store/processes/processes-actions';
 import { LogEventType } from '~/models/log';
 import { addProcessLogsPanelItem } from '../store/process-logs-panel/process-logs-panel-actions';
 import { FilterBuilder } from "~/services/api/filter-builder";
-import { snackbarActions, SnackbarKind } from "~/store/snackbar/snackbar-actions";
 
 export const initWebSocket = (config: Config, authService: AuthService, store: RootStore) => {
     if (config.websocketUrl) {
@@ -21,8 +20,7 @@ export const initWebSocket = (config: Config, authService: AuthService, store: R
         webSocketService.setMessageListener(messageListener(store));
         webSocketService.connect();
     } else {
-        console.warn("WARNING: Websocket ExternalURL is not set on the API Server");
-        store.dispatch(snackbarActions.OPEN_SNACKBAR({ message: "Websocket URL missing on cluster config", kind: SnackbarKind.WARNING }));
+        console.warn("WARNING: Websocket ExternalURL is not set on the cluster config.");
     }
 };