resources: Parse YAML infinity specifications correctly

This makes it easier to specify an infinite rate.
This commit is contained in:
James Shubin
2017-02-03 17:39:51 -05:00
parent 2aff8709a5
commit 68a8649292
2 changed files with 19 additions and 1 deletions

13
examples/file5.yaml Normal file
View File

@@ -0,0 +1,13 @@
---
graph: mygraph
resources:
file:
- name: file1
meta:
limit: .inf
burst: 0
path: "/tmp/mgmt/hello"
content: |
i am a file
state: exists
edges: []