mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-17 01:33:00 +00:00
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"
|
||||
)
|
||||
|
||||
|
||||
type networkModel int
|
||||
|
||||
const (
|
||||
networkOffline networkModel = iota
|
||||
networkQemu networkModel = iota
|
||||
networkLibvirt networkModel = iota
|
||||
networkOffline networkModel = iota
|
||||
networkQemu networkModel = iota
|
||||
networkLibvirt networkModel = iota
|
||||
)
|
||||
|
||||
func list(l *libvirt.Libvirt) {
|
||||
@ -433,7 +432,7 @@ func parseNetworkModel(flagOffline bool, flagNetworking string) networkModel {
|
||||
if flagNetworking == "qemu" {
|
||||
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/"
|
||||
|
Loading…
Reference in New Issue
Block a user