mirror of https://bitbucket.org/ausocean/av.git
rv: initialise variable map
This commit is contained in:
parent
ce50b5fbd1
commit
82e7ed29d7
|
@ -236,7 +236,7 @@ func run(rv *revid.Revid, ns *netsender.Sender, l *logger.Logger, nl *netlogger.
|
||||||
}
|
}
|
||||||
|
|
||||||
func createVarMap() map[string]string {
|
func createVarMap() map[string]string {
|
||||||
var m map[string]string
|
m := make(map[string]string)
|
||||||
for _, v := range config.Variables {
|
for _, v := range config.Variables {
|
||||||
m[v.Name] = v.Type_
|
m[v.Name] = v.Type_
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue