diff options
| author | Jeff Carr <[email protected]> | 2024-11-07 14:15:29 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-07 14:15:29 -0600 |
| commit | f189efd9d7fb73b78b3cdf0cf398affc06956304 (patch) | |
| tree | 8a6285dd85c643bbc4940cb6a85607f5f481a9ba | |
| parent | a95bed236ff02a03d8185ea59c47f94d464f194a (diff) | |
show IsPrivate()v0.22.10
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | http.go | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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") |
