Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
20
Merge Requests
20
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
8c0a5431
Commit
8c0a5431
authored
May 02, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check that slave rendered to boolean.
parent
b70cab36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
master/product/Vifib/Tool/VifibRestApiV1Tool.py
master/product/Vifib/Tool/VifibRestApiV1Tool.py
+3
-0
No files found.
master/product/Vifib/Tool/VifibRestApiV1Tool.py
View file @
8c0a5431
...
@@ -106,6 +106,9 @@ class InstancePublisher(GenericPublisher):
...
@@ -106,6 +106,9 @@ class InstancePublisher(GenericPublisher):
request_dict
=
{}
request_dict
=
{}
error_dict
=
{}
error_dict
=
{}
if
'slave'
in
jbody
:
if
not
isinstance
(
jbody
[
'slave'
],
bool
):
error_dict
[
'slave'
]
=
'Not boolean.'
for
k_j
,
k_i
in
(
for
k_j
,
k_i
in
(
(
'software_release'
,
'software_release'
),
(
'software_release'
,
'software_release'
),
(
'title'
,
'software_title'
),
(
'title'
,
'software_title'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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