website icon indicating copy to clipboard operation
website copied to clipboard

Liquid Warning

Open chenopis opened this issue 9 years ago • 0 comments

This is a...

  • [ ] Feature Request
  • [X] Bug Report

Problem: There is a warning during the Netlify preview build process:

Liquid Warning: Liquid syntax error (line 82): [:dot, "."] is not a valid expression in "{{.spec.terminationGracePeriodSeconds}}" in docs/tutorials/stateful-application/cassandra.md Liquid Warning: Liquid syntax error (line 420): [:dot, "."] is not a valid expression in "{{.spec.terminationGracePeriodSeconds}}" in docs/tutorials/stateful-application/cassandra.md

Looks like liquid is trying to parse {{.spec.terminationGracePeriodSeconds}} in the line:

grace=$(kubectl get po cassandra-0 --template '{{.spec.terminationGracePeriodSeconds}}') \

Proposed Solution: Find out how to escape { in a code block for Liquid.

Page to Update: http://kubernetes.io/docs/tutorials/stateful-application/cassandra/

Kubernetes 1.6

chenopis avatar Jun 26 '17 23:06 chenopis