diff options
Diffstat (limited to 'src/orchestrator/pkg')
-rw-r--r-- | src/orchestrator/pkg/appcontext/appcontext.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/orchestrator/pkg/appcontext/appcontext.go b/src/orchestrator/pkg/appcontext/appcontext.go index 5d757940..d77672db 100644 --- a/src/orchestrator/pkg/appcontext/appcontext.go +++ b/src/orchestrator/pkg/appcontext/appcontext.go @@ -419,7 +419,7 @@ func (ac *AppContext) AddInstruction(handle interface{}, level string, insttype if !(insttype == "order" || insttype == "dependency") { return nil, pkgerrors.Errorf("Not a valid app context instruction type") } - if !(level == "app" || level == "resource") { + if !(level == "app" || level == "resource" || level == "subresource") { return nil, pkgerrors.Errorf("Not a valid app context instruction level") } h, err := ac.rtc.RtcAddInstruction(handle, level, insttype, value) |