engine: resources: Work around a subtle embedded res bug

This is a subtle issue that was found that caused a panic. This should
solve things for now, but it would be wise to build embedded or
composite resources sparingly until we we're certain this would work the
way we wanted for all scenarios.
This commit is contained in:
James Shubin
2018-12-16 16:07:42 -05:00
parent da0ffa5e56
commit b1eb6711b7
3 changed files with 13 additions and 1 deletions

View File

@@ -79,6 +79,7 @@ type CronRes struct {
traits.Base
traits.Edgeable
traits.Recvable
traits.Refreshable // needed because we embed a svc res
init *engine.Init