examples: lang: Reinstate mcl as unification bug is fixed

Struct field names now correctly map based on their `lang` tags in Go
structs, so this example now works as originally intended.

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
Joe Groocock
2021-02-01 18:28:35 +00:00
parent 6b14c9bea4
commit db95b6381f

View File

@@ -29,26 +29,24 @@ virt "mgmt4" {
state => "running", state => "running",
transient => false, transient => false,
boot => ["hd", ], boot => ["hd", ],
# can't add this part until we fix the unification bug disk => [
#disk => [ struct{
# struct{ source => "~/.local/share/libvirt/images/fedora-23-scratch.qcow2",
# source => "~/.local/share/libvirt/images/fedora-23-scratch.qcow2", type => "qcow2",
# type => "qcow2", },
# }, ],
#], osinit => "",
# add the rest for unification bug cdrom => [
#osinit => "", ],
#cdrom => [ network => [
#], ],
#network => [ filesystem => [
#], ],
#filesystem => [ auth => struct{
#], username => "",
#auth => struct{ password => "",
# username => "", },
# password => "", hotcpus => true, # this is the default
#}, restartondiverge => "",
#hotcpus => true, # this is the default restartonrefresh => false,
#restartondiverge => "",
#restartonrefresh => false,
} }