mirror of https://github.com/docker/docs.git
Format lxc_template.go with gofmt
This commit is contained in:
parent
f16c45f8b0
commit
b702edadb7
|
@ -171,9 +171,9 @@ func getCapabilities(container *Container) *Capabilities {
|
||||||
func init() {
|
func init() {
|
||||||
var err error
|
var err error
|
||||||
funcMap := template.FuncMap{
|
funcMap := template.FuncMap{
|
||||||
"getMemorySwap": getMemorySwap,
|
"getMemorySwap": getMemorySwap,
|
||||||
"getHostConfig": getHostConfig,
|
"getHostConfig": getHostConfig,
|
||||||
"getCapabilities": getCapabilities,
|
"getCapabilities": getCapabilities,
|
||||||
"escapeFstabSpaces": escapeFstabSpaces,
|
"escapeFstabSpaces": escapeFstabSpaces,
|
||||||
}
|
}
|
||||||
LxcTemplateCompiled, err = template.New("lxc").Funcs(funcMap).Parse(LxcTemplate)
|
LxcTemplateCompiled, err = template.New("lxc").Funcs(funcMap).Parse(LxcTemplate)
|
||||||
|
|
Loading…
Reference in New Issue