Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
a
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Yusei Tahara
a
Commits
d246b709
Commit
d246b709
authored
Mar 23, 2024
by
Yusei Tahara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Watch slapos-standalone-instance instead of theia-instance.
theia-instance may exit by unknown issue.
parent
a828a81f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slapos-theia
slapos-theia
+1
-1
No files found.
slapos-theia
View file @
d246b709
...
@@ -42,7 +42,7 @@ def checkTheiaStatus(target_status):
...
@@ -42,7 +42,7 @@ def checkTheiaStatus(target_status):
for
line
in
completed_process
.
stdout
.
split
(
b'
\
n
'
):
for
line
in
completed_process
.
stdout
.
split
(
b'
\
n
'
):
if
line
.
startswith
(
slappart_b
):
if
line
.
startswith
(
slappart_b
):
split_line
=
splitLine
(
line
)
split_line
=
splitLine
(
line
)
if
(
split_line
[
0
].
startswith
(
slappart_b
+
b':
theia
-instance'
)
and
if
(
split_line
[
0
].
startswith
(
slappart_b
+
b':
slapos-standalone
-instance'
)
and
split_line
[
1
].
decode
(
'utf8'
)
==
target_status
):
split_line
[
1
].
decode
(
'utf8'
)
==
target_status
):
return
True
return
True
return
False
return
False
...
...
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