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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user