Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
maestro-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
maestro
maestro-core
Commits
7d21b700
Commit
7d21b700
authored
2 years ago
by
Ali Mohammed
Browse files
Options
Downloads
Patches
Plain Diff
always match dispose events - similar to declare
parent
bfe892f7
No related branches found
No related tags found
No related merge requests found
Pipeline
#127775
canceled
2 years ago
Stage: build-and-test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
maestro/subscription_registry.c
+3
-2
3 additions, 2 deletions
maestro/subscription_registry.c
with
3 additions
and
2 deletions
maestro/subscription_registry.c
+
3
−
2
View file @
7d21b700
...
...
@@ -1631,11 +1631,12 @@ mstro_subscription_selector_check(struct mstro_subscription_ *s,
mstro_status
status
=
MSTRO_NOMATCH
;
if
(
ev
->
payload_case
==
MSTRO__POOL__EVENT__PAYLOAD_DECLARE
)
{
if
(
(
ev
->
payload_case
==
MSTRO__POOL__EVENT__PAYLOAD_DECLARE
)
||
(
ev
->
payload_case
==
MSTRO__POOL__EVENT__PAYLOAD_DISPOSE
))
{
/* declare is special: no CDOID known yet, no attribuites, only
* string name. Efficient subscriptions will subscribe to
* DECLARE_ACK instead. */
WARN
(
"DECLARE event always matches -- FIXME: only name could be checked (and we don't)
\n
"
);
/**After dispose, we do not have an entry in the app registry for this cdo. */
WARN
(
"DECLARE and DISPOSE events always matches -- FIXME: only name could be checked (and we don't)
\n
"
);
return
MSTRO_OK
;
}
else
{
/* we always need the CDO id. Unfortunately it's slightly buried in the EV */
...
...
This diff is collapsed.
Click to expand it.
Ali Mohammed
@mohammed1
mentioned in issue
#84 (closed)
·
2 years ago
mentioned in issue
#84 (closed)
mentioned in issue #84
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment