From 7a3ae3da97281da668cae82ff1cabfc3aeaf4ff5 Mon Sep 17 00:00:00 2001 From: Adron Hall Date: Wed, 25 Jul 2018 12:29:03 -0700 Subject: [PATCH] Changed to let statement for filesystem. --- src/utils/cassandra.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/cassandra.js b/src/utils/cassandra.js index 25d6c85..8b1b30f 100644 --- a/src/utils/cassandra.js +++ b/src/utils/cassandra.js @@ -3,7 +3,6 @@ import config from 'config'; import {auth, Client, types as CassandraTypes} from 'dse-driver'; import {logger} from './logging'; import {lookupServiceAsync} from './lookup-service'; -import {Filesystem} from 'fs' /** * An array of CQL table strings to use for the schema. @@ -83,6 +82,7 @@ export function getCassandraClientAsync(keyspace, dseUsername, dsePassword) { logger.info('No detected username/password combination was passed in. DSE cluster authentication method was NOT executed.'); } + let Filesystem = require("fs"); let sslStat = process.env.KILLRVIDEO_ENABLE_SSL; logger.info(sslStat);