show IsPrivate()

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-11-07 14:15:29 -06:00
parent a95bed236f
commit f189efd9d7
1 changed files with 8 additions and 1 deletions

View File

@ -183,6 +183,11 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
} else { } else {
log.Info("IsPrimitive() == false") 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 { if ok, compiled, err := me.current.Status.IsProtobuf(); ok {
log.Info(log.Sprint("IsProtobuf() == true compiled protobuf files = ", compiled)) log.Info(log.Sprint("IsProtobuf() == true compiled protobuf files = ", compiled))
if err != nil { if err != nil {
@ -194,8 +199,10 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
} }
} else { } else {
log.Info("IsProtobuf() == false") log.Info("IsProtobuf() == false")
if err != nil {
log.Info(log.Sprint("IsProtobuf() == err", err)) log.Info(log.Sprint("IsProtobuf() == err", err))
} }
}
if me.current.Status.Whitelist { if me.current.Status.Whitelist {
log.Info("Whitelist == true SHOULD NOT RELEASE THIS") log.Info("Whitelist == true SHOULD NOT RELEASE THIS")
} else { } else {