summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-07 14:15:29 -0600
committerJeff Carr <[email protected]>2024-11-07 14:15:29 -0600
commitf189efd9d7fb73b78b3cdf0cf398affc06956304 (patch)
tree8a6285dd85c643bbc4940cb6a85607f5f481a9ba
parenta95bed236ff02a03d8185ea59c47f94d464f194a (diff)
show IsPrivate()v0.22.10
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--http.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/http.go b/http.go
index a6085b1..45a5153 100644
--- a/http.go
+++ b/http.go
@@ -183,6 +183,11 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
} else {
log.Info("IsPrimitive() == false")
}
+ if me.current.Status.IsPrivate() {
+ log.Info("IsPrivate() == true")
+ } else {
+ log.Info("IsPrivate() == false")
+ }
if ok, compiled, err := me.current.Status.IsProtobuf(); ok {
log.Info(log.Sprint("IsProtobuf() == true compiled protobuf files = ", compiled))
if err != nil {
@@ -194,7 +199,9 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
}
} else {
log.Info("IsProtobuf() == false")
- log.Info(log.Sprint("IsProtobuf() == err", err))
+ if err != nil {
+ log.Info(log.Sprint("IsProtobuf() == err", err))
+ }
}
if me.current.Status.Whitelist {
log.Info("Whitelist == true SHOULD NOT RELEASE THIS")