Browse Source

[TEMPLATE] fix variable call

Baptiste Donaux 9 năm trước cách đây
mục cha
commit
ebab7cf2b9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 }}