config: some extra comments
This commit is contained in:
parent
e6289fbe63
commit
08348eed28
|
@ -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