Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
metadata-and-data
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
Container registry
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
indexers
metadata-and-data
Commits
ed91e793
Commit
ed91e793
authored
3 years ago
by
Damien DESPRES
Browse files
Options
Downloads
Patches
Plain Diff
fix #12829
parent
0c1c2a49
No related branches found
No related tags found
2 merge requests
!23
merge dev into master
,
!17
Services ws absent en recette
Pipeline
#19998
failed
3 years ago
Stage: sonar-analysis
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/fix_links.py
+1
-1
1 addition, 1 deletion
lib/fix_links.py
with
1 addition
and
1 deletion
lib/fix_links.py
+
1
−
1
View file @
ed91e793
...
@@ -151,7 +151,7 @@ def fix_links( links, credentials=None ):
...
@@ -151,7 +151,7 @@ def fix_links( links, credentials=None ):
the_fixed_ws_url
=
None
the_fixed_ws_url
=
None
for
k
,
link
in
enumerate
(
fixed_links
):
for
k
,
link
in
enumerate
(
fixed_links
):
if
link
[
'
protocol
'
]
==
'
JSON
'
and
'
download.data.grandlyon.com/ws
'
in
link
[
'
url
'
]:
if
link
[
'
protocol
'
]
==
'
JSON
'
and
(
'
download.data.grandlyon.com/ws
'
in
link
[
'
url
'
]
or
'
download.recette.data.grandlyon.com/ws
'
in
link
[
'
url
'
])
:
fixed_links
[
k
][
'
protocol
'
]
=
'
WS
'
fixed_links
[
k
][
'
protocol
'
]
=
'
WS
'
tmp
=
links
[
k
][
'
url
'
]
tmp
=
links
[
k
][
'
url
'
]
...
...
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