aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/puppeth/wizard_dashboard.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-10-19 21:00:55 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-11-21 21:09:33 +0800
commitda3b9f831e6bb8f8a3c589e5cd8426fd9da72eea (patch)
treefb9cca2507788d43e79113a42d9abc3e221e6378 /cmd/puppeth/wizard_dashboard.go
parent7b258c96816df56e642df7e314e8052213af70fa (diff)
downloadgo-tangerine-da3b9f831e6bb8f8a3c589e5cd8426fd9da72eea.tar
go-tangerine-da3b9f831e6bb8f8a3c589e5cd8426fd9da72eea.tar.gz
go-tangerine-da3b9f831e6bb8f8a3c589e5cd8426fd9da72eea.tar.bz2
go-tangerine-da3b9f831e6bb8f8a3c589e5cd8426fd9da72eea.tar.lz
go-tangerine-da3b9f831e6bb8f8a3c589e5cd8426fd9da72eea.tar.xz
go-tangerine-da3b9f831e6bb8f8a3c589e5cd8426fd9da72eea.tar.zst
go-tangerine-da3b9f831e6bb8f8a3c589e5cd8426fd9da72eea.zip
cmd/puppeth: support deploying services with forced rebuilds
Diffstat (limited to 'cmd/puppeth/wizard_dashboard.go')
-rw-r--r--cmd/puppeth/wizard_dashboard.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/cmd/puppeth/wizard_dashboard.go b/cmd/puppeth/wizard_dashboard.go
index 3f68c93a4..b59489b03 100644
--- a/cmd/puppeth/wizard_dashboard.go
+++ b/cmd/puppeth/wizard_dashboard.go
@@ -120,7 +120,11 @@ func (w *wizard) deployDashboard() {
ethstats = w.readDefaultString("y") == "y"
}
// Try to deploy the dashboard container on the host
- if out, err := deployDashboard(client, w.network, infos.port, infos.host, listing, &w.conf, ethstats); err != nil {
+ fmt.Println()
+ fmt.Printf("Should the dashboard be built from scratch (y/n)? (default = no)\n")
+ nocache := w.readDefaultString("n") != "n"
+
+ if out, err := deployDashboard(client, w.network, infos.port, infos.host, listing, &w.conf, ethstats, nocache); err != nil {
log.Error("Failed to deploy dashboard container", "err", err)
if len(out) > 0 {
fmt.Printf("%s\n", out)