Skip to content
Snippets Groups Projects
Commit 2213fa3d authored by Lars Seipel's avatar Lars Seipel
Browse files

runner/libvirt: don't access libvirt domains for fake nodes

Fake nodes, of course, do not have an associated libvirt
domain.
parent db2dcddb
No related branches found
No related tags found
No related merge requests found
......@@ -717,6 +717,9 @@ func (r *Runner) startDomains(ctx context.Context, t *topology.T) (err error) {
}
}()
for _, d := range ds {
if d.Function() == topology.FunctionFake {
continue
}
dom := r.domains[r.namePrefix+d.Name]
if err := dom.Create(); err != nil {
return fmt.Errorf("domain %s: %w",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment