From 7a64aca8883456380f9dad851a62d75d335fa5fb Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Tue, 14 May 2019 17:56:44 +0530 Subject: [PATCH] Removed redundant consts and goal --- README.dev.md | 1 - subimporter/importer.go | 7 ------- 2 files changed, 8 deletions(-) diff --git a/README.dev.md b/README.dev.md index 1bc28e7..90a4812 100644 --- a/README.dev.md +++ b/README.dev.md @@ -52,7 +52,6 @@ Visit `http://localhost:9001` to access the frontend running in development mode # TODO: Essentials for v0.10 - update list time after import -- subscriber status "Enabled" -> "Active" - dockerize - add an http call to do version checks and alerts - make the design responsive diff --git a/subimporter/importer.go b/subimporter/importer.go index 444d773..85d721a 100644 --- a/subimporter/importer.go +++ b/subimporter/importer.go @@ -35,13 +35,6 @@ const ( // commitBatchSize is the number of inserts to commit in a single SQL transaction. commitBatchSize = 10000 - // SubscriberStatusEnabled indicates that a subscriber is active. - SubscriberStatusEnabled = "enabled" - // SubscriberStatusDisabled indicates that a subscriber is inactive or unsubscribed. - SubscriberStatusDisabled = "disabled" - // SubscriberStatusBlacklisted indicates that a subscriber is blacklisted. - SubscriberStatusBlacklisted = "blacklisted" - StatusNone = "none" StatusImporting = "importing" StatusStopping = "stopping"