diff --git a/versions.yaml b/versions.yaml index d0b6670fc6..cc26c01262 100644 --- a/versions.yaml +++ b/versions.yaml @@ -186,9 +186,10 @@ languages: golang: description: "Google's 'go' language" notes: "'version' is the default minimum version used by this project." - version: "1.9.7" + issue: "https://github.com/golang/go/issues/20676" + version: "1.10.4" meta: - newest-version: "1.10" + newest-version: "1.11" specs: description: "Details of important specifications" diff --git a/virtcontainers/monitor.go b/virtcontainers/monitor.go index fdf523a7d6..8e2a879746 100644 --- a/virtcontainers/monitor.go +++ b/virtcontainers/monitor.go @@ -18,9 +18,9 @@ type monitor struct { sandbox *Sandbox checkInterval time.Duration watchers []chan error + wg sync.WaitGroup running bool stopCh chan bool - wg sync.WaitGroup } func newMonitor(s *Sandbox) *monitor { diff --git a/virtcontainers/pkg/mock/cc_proxy_mock.go b/virtcontainers/pkg/mock/cc_proxy_mock.go index 052612ade8..23dd7f980d 100644 --- a/virtcontainers/pkg/mock/cc_proxy_mock.go +++ b/virtcontainers/pkg/mock/cc_proxy_mock.go @@ -25,7 +25,6 @@ type CCProxyMock struct { sync.Mutex t *testing.T - wg sync.WaitGroup connectionPath string // proxy socket @@ -44,6 +43,8 @@ type CCProxyMock struct { ShimDisconnected chan bool StdinReceived chan bool + wg sync.WaitGroup + stopped bool }