gofmt
This commit is contained in:
parent
5753321877
commit
a3bd38c243
9
appvm.go
9
appvm.go
@ -31,13 +31,12 @@ import (
|
|||||||
kingpin "gopkg.in/alecthomas/kingpin.v2"
|
kingpin "gopkg.in/alecthomas/kingpin.v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
type networkModel int
|
type networkModel int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
networkOffline networkModel = iota
|
networkOffline networkModel = iota
|
||||||
networkQemu networkModel = iota
|
networkQemu networkModel = iota
|
||||||
networkLibvirt networkModel = iota
|
networkLibvirt networkModel = iota
|
||||||
)
|
)
|
||||||
|
|
||||||
func list(l *libvirt.Libvirt) {
|
func list(l *libvirt.Libvirt) {
|
||||||
@ -433,7 +432,7 @@ func parseNetworkModel(flagOffline bool, flagNetworking string) networkModel {
|
|||||||
if flagNetworking == "qemu" {
|
if flagNetworking == "qemu" {
|
||||||
return networkQemu
|
return networkQemu
|
||||||
}
|
}
|
||||||
return networkQemu // qemu is the default network model
|
return networkQemu // qemu is the default network model
|
||||||
}
|
}
|
||||||
|
|
||||||
var configDir = os.Getenv("HOME") + "/.config/appvm/"
|
var configDir = os.Getenv("HOME") + "/.config/appvm/"
|
||||||
|
Loading…
Reference in New Issue
Block a user