Merge pull request #757 from lifupan/fixbuiltinproxy

virtcontainers: fix the issue of missing starting builtin proxy
This commit is contained in:
James O. D. Hunt 2018-09-21 08:31:14 +01:00 committed by GitHub
commit 7f65751f62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,6 @@ func (k *kataAgent) configure(h hypervisor, id, sharePath string, builtin bool,
if builtin {
k.proxyBuiltIn = true
k.state.URL, _ = k.agentURL()
}
// Adding the shared volume.

View File

@ -649,6 +649,7 @@ func TestAgentConfigure(t *testing.T) {
err = k.configure(h, id, dir, true, c)
assert.Nil(err)
assert.Empty(k.state.URL)
err = k.configure(h, id, dir, false, c)
assert.Nil(err)