Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
tower
Commits
c57d152b
Commit
c57d152b
authored
Mar 09, 2020
by
EKbfh
🐼
Browse files
Revert full_load to load because OrderedYaml rewrite
parent
0f47d338
Pipeline
#20963
passed with stages
in 21 minutes and 22 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
c57d152b
##
Future
##
0.4.8 (2020-03-XX)
### Release Notes
*
Fix pool edit
*
Fix Default node type
*
Fix YAML warning
*
Bump ansible to 2.9.6
## 0.4.7 (2019-12-03)
### Release Notes
...
...
tower/api/service.py
View file @
c57d152b
...
...
@@ -34,7 +34,7 @@ class ServiceAPI(API):
if
not
os
.
path
.
exists
(
path
):
continue
with
open
(
path
)
as
f
:
descr
=
yaml
.
full_
load
(
f
,
OrderedDictYAMLLoader
)
descr
=
yaml
.
load
(
f
,
OrderedDictYAMLLoader
)
if
not
descr
:
continue
if
"services"
not
in
descr
or
not
descr
[
"services"
]:
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment