From d183b65f9f0ba6b9944ef71bfbe938ec92cea0d8 Mon Sep 17 00:00:00 2001 From: Andrew Watkins Date: Wed, 11 Jan 2017 14:48:57 -0800 Subject: [PATCH] Delete archaic component and copy --- .../chronograf/components/NoDataNodeError.js | 18 ------------------ ui/src/shared/copy/errors.hson | 10 ---------- 2 files changed, 28 deletions(-) delete mode 100644 ui/src/chronograf/components/NoDataNodeError.js delete mode 100644 ui/src/shared/copy/errors.hson diff --git a/ui/src/chronograf/components/NoDataNodeError.js b/ui/src/chronograf/components/NoDataNodeError.js deleted file mode 100644 index 808de1683..000000000 --- a/ui/src/chronograf/components/NoDataNodeError.js +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; -import ClusterError from 'shared/components/ClusterError'; -import PanelHeading from 'shared/components/PanelHeading'; -import PanelBody from 'shared/components/PanelBody'; -import errorCopy from 'hson!shared/copy/errors.hson'; - -const NoDataNodeError = React.createClass({ - render() { - return ( - - {errorCopy.noData.head} - {errorCopy.noData.body} - - ); - }, -}); - -export default NoDataNodeError; diff --git a/ui/src/shared/copy/errors.hson b/ui/src/shared/copy/errors.hson deleted file mode 100644 index 1701bd762..000000000 --- a/ui/src/shared/copy/errors.hson +++ /dev/null @@ -1,10 +0,0 @@ -{ - noData: { - head: `Unable to find a data node!`, - body: `Make sure your cluster is configured correctly by verifying that at least one valid data node is part of your cluster.`, - }, - noCluster: { - head: `Unable to communicate with cluster!`, - body: `Make sure your cluster is configured correctly by verifying that at least one valid meta and data node is part of your cluster.`, - }, -}