config: some extra comments

This commit is contained in:
Mitchell Hashimoto 2014-12-18 11:50:01 -08:00
parent 662268f32c
commit 6b7dfb4c8f
1 changed files with 1 additions and 0 deletions

View File

@ -365,6 +365,7 @@ func (c *Config) Validate() error {
} }
r.RawCount.init() r.RawCount.init()
// Verify depends on points to resources that all exist
for _, d := range r.DependsOn { for _, d := range r.DependsOn {
if _, ok := resources[d]; !ok { if _, ok := resources[d]; !ok {
errs = append(errs, fmt.Errorf( errs = append(errs, fmt.Errorf(