aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFChannel <>2021-06-29 17:20:43 -0700
committerFChannel <>2021-06-29 17:20:43 -0700
commitd8ec39ca028dfed3e2c1ba0193c6fde977ae22b5 (patch)
treeed263bc8bc7eb31c7eab75962ad9d8261807c8c5 /main.go
parentf404f8ff098674280231819958c9beedcdba6011 (diff)
check for nil pointer reference
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.go b/main.go
index 758436c..76da453 100644
--- a/main.go
+++ b/main.go
@@ -2425,7 +2425,6 @@ func GetActorInstance(path string) (string, string) {
}
func AddInstanceToIndex(actor string) {
-
// if local testing enviroment do not add to index
re := regexp.MustCompile(`(.+)?(localhost|\d+\.\d+\.\d+\.\d+)(.+)?`)
if re.MatchString(actor) {