Finish update optimization.
This commit is contained in:
parent
0ebccdb20a
commit
ecfa35350c
2 changed files with 30 additions and 12 deletions
templates/singleton
|
@ -24,6 +24,9 @@ func makeCacheKey(wl, nzDefaults []string) string {
|
|||
for _, w := range wl {
|
||||
buf.WriteString(w)
|
||||
}
|
||||
if len(nzDefaults) != 0 {
|
||||
buf.WriteByte('.')
|
||||
}
|
||||
for _, nz := range nzDefaults {
|
||||
buf.WriteString(nz)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue