You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# hcledit body get -f /etc/nomad.d/client.hcl client
client {
meta {
consul = "client"
primary_workload = "ingress"
availability_zone = "eu-west-1c" # This is a comment
}
}
Comment causes the third line to dissapear from body get parent.child
# hcledit body get -f /etc/nomad.d/client.hcl client.meta
consul = "client"
primary_workload = "ingress"
Now remove the comment and it parses the full three lines
# hcledit body get -f /etc/nomad.d/client.hcl client.meta
consul = "client"
primary_workload = "ingress"
availability_zone = "eu-west-1c"
The text was updated successfully, but these errors were encountered:
This was not fixed by #31.
Version
Comment causes issues
body get parent
shows all the rowsComment causes the third line to dissapear from
body get parent.child
Now remove the comment and it parses the full three lines
The text was updated successfully, but these errors were encountered: