summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-06 02:21:56 -0600
committerJeff Carr <[email protected]>2024-01-06 02:21:56 -0600
commita808bb55189a44d0c3b2965805c14644f8102cca (patch)
tree7d614a72c2e1845d18311f2f1a12bbbbffed3c3b
parent46f58f7651ba3980aab9d9b6f61e86bec9ce732a (diff)
all engines still firing
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--hostname.go11
1 files changed, 1 insertions, 10 deletions
diff --git a/hostname.go b/hostname.go
index 10211ba..062f033 100644
--- a/hostname.go
+++ b/hostname.go
@@ -7,7 +7,7 @@ import (
"go.wit.com/log"
"go.wit.com/shell"
- "go.wit.com/gui/cloudflare"
+// "go.wit.com/gui/cloudflare"
"github.com/miekg/dns"
// will try to get this hosts FQDN
@@ -53,15 +53,6 @@ func getHostname() {
me.hostnameStatus.SetText("VALID")
me.changed = true
}
- // enable the cloudflare button if the provider is cloudflare
- if (me.cloudflareB == nil) {
- log.Log(CHANGE, "me.cloudflare == nil; me.DnsAPI.S =", me.DnsAPI.S)
- if (me.DnsAPI.S == "cloudflare") {
- me.cloudflareB = me.mainStatus.NewButton("cloudflare wit.com", func () {
- cloudflare.CreateRR(me.myGui, "wit.com", "3777302ac4a78cd7fa4f6d3f72086d06")
- })
- }
- }
}
}