summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorArne Juul <arnej@vespa.ai>2024-03-20 11:20:43 +0000
committerArne Juul <arnej@vespa.ai>2024-03-20 11:20:43 +0000
commit866f2363fe4da79ff3be3140a17c9b56c1a8c05b (patch)
tree5178faedcc591fe0f469abd87163180707dc394b /client
parentf3c2bf61ca2ebde5fb1f80111dedd3619855f586 (diff)
perform dry-run (probe) before exec-ing
Diffstat (limited to 'client')
-rw-r--r--client/go/internal/admin/vespa-wrapper/configserver/start.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/client/go/internal/admin/vespa-wrapper/configserver/start.go b/client/go/internal/admin/vespa-wrapper/configserver/start.go
index 7563132ff5a..7e641c0d8ac 100644
--- a/client/go/internal/admin/vespa-wrapper/configserver/start.go
+++ b/client/go/internal/admin/vespa-wrapper/configserver/start.go
@@ -70,8 +70,11 @@ func runConfigserverWithRunserver() int {
ServiceName: SERVICE_NAME,
Args: []string{"just-start-configserver"},
}
- rs.Exec("libexec/vespa/vespa-wrapper")
- return 1
+ if rs.WouldRun() {
+ rs.Exec("libexec/vespa/vespa-wrapper")
+ return 1
+ }
+ return 0
}
func StartConfigserverEtc() int {