config: some extra comments

This commit is contained in:
Mitchell Hashimoto 2014-12-18 11:50:01 -08:00
parent e6289fbe63
commit 08348eed28
1 changed files with 1 additions and 0 deletions

View File

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