From d3bbcc35ee486a3d456fe58fa0600fc93b7a79fe Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 20 Jun 2018 15:35:45 +0200 Subject: vm/vmimpl: add vm.Diagnose method Diagnose is called on machine hang to try to get some additional diagnostic information from it. For now it's all stubs. --- vm/gce/gce.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vm/gce') diff --git a/vm/gce/gce.go b/vm/gce/gce.go index dbd1001fd..b715c4afb 100644 --- a/vm/gce/gce.go +++ b/vm/gce/gce.go @@ -350,6 +350,10 @@ func (inst *instance) Run(timeout time.Duration, stop <-chan bool, command strin return merger.Output, errc, nil } +func (inst *instance) Diagnose() bool { + return false +} + func (pool *Pool) waitInstanceBoot(name, ip, sshKey, sshUser, gceKey string) error { pwd := "pwd" if pool.env.OS == "windows" { -- cgit mrf-deployment