Explorar o código

[TEMPLATE] fix variable call

Baptiste Donaux %!s(int64=9) %!d(string=hai) anos
pai
achega
ebab7cf2b9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      nginx.tmpl

+ 1 - 1
nginx.tmpl

@@ -1,4 +1,4 @@
-{{ $CurrentContainer := where $ "ID" .CurrentContainerID | first }}
+{{ $CurrentContainer := where $ "ID" .Docker.CurrentContainerID | first }}
 
 {{ define "upstream" }}
 	{{ if .Address }}