Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
slapos.toolbox
Commits
6c3d63b4
Commit
6c3d63b4
authored
Dec 19, 2019
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runner: /slapgridResult is a GET
as no data is changed/created server side
parent
a58553e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
slapos/runner/static/js/scripts/process.js
slapos/runner/static/js/scripts/process.js
+1
-1
slapos/runner/views.py
slapos/runner/views.py
+1
-1
No files found.
slapos/runner/static/js/scripts/process.js
View file @
6c3d63b4
...
@@ -100,7 +100,7 @@ function getRunningState() {
...
@@ -100,7 +100,7 @@ function getRunningState() {
position
:
logReadingPosition
,
position
:
logReadingPosition
,
log
:
(
openedlogpage
!==
""
)
?
currentProcess
:
""
log
:
(
openedlogpage
!==
""
)
?
currentProcess
:
""
},
},
jqxhr
=
$
.
pos
t
(
url
,
param
,
function
(
data
)
{
jqxhr
=
$
.
ge
t
(
url
,
param
,
function
(
data
)
{
running
=
data
.
result
;
running
=
data
.
result
;
if
(
data
.
instance
.
state
)
{
if
(
data
.
instance
.
state
)
{
currentProcess
=
processTypes
.
instance
;
currentProcess
=
processTypes
.
instance
;
...
...
slapos/runner/views.py
View file @
6c3d63b4
...
@@ -876,7 +876,7 @@ app.add_url_rule('/getSoftwareType', 'getSoftwareType',
...
@@ -876,7 +876,7 @@ app.add_url_rule('/getSoftwareType', 'getSoftwareType',
getSoftwareType
,
methods
=
[
'GET'
])
getSoftwareType
,
methods
=
[
'GET'
])
app
.
add_url_rule
(
"/stopSlapgrid"
,
'stopSlapgrid'
,
stopSlapgrid
,
methods
=
[
'POST'
])
app
.
add_url_rule
(
"/stopSlapgrid"
,
'stopSlapgrid'
,
stopSlapgrid
,
methods
=
[
'POST'
])
app
.
add_url_rule
(
"/slapgridResult"
,
'slapgridResult'
,
app
.
add_url_rule
(
"/slapgridResult"
,
'slapgridResult'
,
slapgridResult
,
methods
=
[
'
POS
T'
])
slapgridResult
,
methods
=
[
'
GE
T'
])
app
.
add_url_rule
(
"/getmd5sum"
,
'getmd5sum'
,
getmd5sum
,
methods
=
[
'POST'
])
app
.
add_url_rule
(
"/getmd5sum"
,
'getmd5sum'
,
getmd5sum
,
methods
=
[
'POST'
])
app
.
add_url_rule
(
"/checkFileType"
,
'checkFileType'
,
checkFileType
,
app
.
add_url_rule
(
"/checkFileType"
,
'checkFileType'
,
checkFileType
,
methods
=
[
'POST'
])
methods
=
[
'POST'
])
...
...
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