Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
6
66
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Eric Vidal
66
Commits
d2fb2eef
Commit
d2fb2eef
authored
1 year ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
follow sanitize_xxx interface changes
parent
506889c9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib66/exec/ssexec_start.c
+7
-9
7 additions, 9 deletions
src/lib66/exec/ssexec_start.c
with
7 additions
and
9 deletions
src/lib66/exec/ssexec_start.c
+
7
−
9
View file @
d2fb2eef
...
...
@@ -80,13 +80,12 @@ int ssexec_start(int argc, char const *const *argv, ssexec_t *info)
log_diesys
(
LOG_EXIT_SYS
,
"scandir: "
,
info
->
scandir
.
s
,
" is not running"
)
;
for
(;
n
<
argc
;
n
++
)
/** If it's the first use of 66, we don't have
* any resolve files available or the service was
* never parsed, the graph is empty in the first case or
* the later call of service_array_search do not found the corresponding
* resolve file for the second case.
* Try at least to parse the corresponding frontend file. */
sanitize_source
(
argv
[
n
],
info
,
STATE_FLAGS_UNKNOWN
)
;
/** If it's the first use of 66 or we don't have any resolve files available,
* or the service was never parsed, the graph is empty in the first case,
* or the later call of service_array_search does not find the corresponding
* resolve file in the second case.
* At least try to parse the corresponding frontend file. */
sanitize_source
(
argv
[
n
],
info
)
;
/** build the graph of the entire system */
graph_build_service
(
&
graph
,
ares
,
&
areslen
,
info
,
flag
)
;
...
...
@@ -103,11 +102,10 @@ int ssexec_start(int argc, char const *const *argv, ssexec_t *info)
log_die
(
LOG_EXIT_USER
,
"service: "
,
argv
[
n
],
" not available -- did you parsed it?"
)
;
graph_compute_visit
(
argv
[
n
],
visit
,
list
,
&
graph
,
&
nservice
,
0
)
;
}
/** initiate services at the corresponding scandir */
sanitize_init
(
list
,
nservice
,
&
graph
,
ares
,
areslen
,
STATE_FLAGS_UNKNOWN
)
;
sanitize_init
(
list
,
nservice
,
&
graph
,
ares
,
areslen
)
;
service_resolve_array_free
(
ares
,
areslen
)
;
...
...
This diff is collapsed.
Click to expand it.
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