// GetContext returns the services associated with the context
GetContext returns the services associated with the context
// GetContext returns the services associated with the context
func GetContext(svcContext *servicecontext.Context, localizer localize.Localizer, ctxName string) (*servicecontext.ServiceConfig, error) {
	ctx, ok := svcContext.Contexts[ctxName]
	if !ok {
		return nil, localizer.MustLocalizeError("context.common.error.context.notFound", localize.NewEntry("Name", svcContext.CurrentContext))
	}
	return &ctx, nil
}
func GetContext ( svcContext * servicecontext . Context , localizer localize . Localizer , ctxName string ) ( * servicecontext . ServiceConfig , error ) { ctx , ok := svcContext . Contexts [ ctxName ] if ! ok { return nil , localizer . MustLocalizeError ( " " , localize . NewEntry ( " " , svcContext . CurrentContext ) ) } return & ctx , nil }
GetContext returns the services associated with the context
GetContext returns the services associated with the context