Merge PR #4837: Cleanup node_info Endpoint

This commit is contained in:
Alexander Bezobchuk
2019-08-02 11:52:55 -04:00
committed by GitHub
parent c4e3578087
commit 451535bd79
10 changed files with 134 additions and 116 deletions
+3 -3
View File
@@ -25,11 +25,11 @@ build: go.sum
update-swagger-docs: statik
$(BINDIR)/statik -src=client/lcd/swagger-ui -dest=client/lcd -f -m
if [ -n "$(git status --porcelain)" ]; then \
echo "swagger docs out of sync";\
@if [ -n "$(git status --porcelain)" ]; then \
echo "\033[91mSwagger docs are out of sync!!!\033[0m";\
exit 1;\
else \
echo "swagger docs are in sync";\
echo "\033[92mSwagger docs are in sync\033[0m";\
fi
.PHONY: update-swagger-docs