config: some extra comments
This commit is contained in:
parent
662268f32c
commit
6b7dfb4c8f
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue