summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doRelease.go2
-rw-r--r--http.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/doRelease.go b/doRelease.go
index c3affc2..a4a3b82 100644
--- a/doRelease.go
+++ b/doRelease.go
@@ -57,7 +57,7 @@ func doRelease() bool {
} else {
all = append(all, []string{"git", "add", "-f", "go.sum"})
}
- if ok, compiled, err := me.current.Status.IsProtobuf(); ok {
+ if ok, compiled, err := me.current.IsProtobuf(); ok {
log.Info("\tIsProtobuf() == true")
if err != nil {
log.Info("\tERROR: There are protobuf files, but they are not compiled")
diff --git a/http.go b/http.go
index f59c3bb..3cd0b71 100644
--- a/http.go
+++ b/http.go
@@ -200,7 +200,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
} else {
log.Info("IsPrivate() == false")
}
- if ok, compiled, err := me.current.Status.IsProtobuf(); ok {
+ if ok, compiled, err := me.current.IsProtobuf(); ok {
log.Info(log.Sprint("IsProtobuf() == true compiled protobuf files = ", compiled))
if err != nil {
log.Info(log.Sprint("IsProtobuf() == err", err))