Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fcb3d718
authored
Nov 25, 2013
by
Dudás Ádám
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vm: fix task misreference
parent
74b83896
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
+1
-3
circle/vm/models.py
+1
-3
No files found.
circle/vm/models.py
View file @
fcb3d718
...
...
@@ -149,9 +149,7 @@ class Node(TimeStampedModel):
@property
@method_cache
(
10
,
5
)
def
online
(
self
):
return
self
.
remote_query
(
vm_tasks
.
get_core_num
,
timeout
=
1
,
default
=
False
)
return
self
.
remote_query
(
vm_tasks
.
ping
,
timeout
=
1
,
default
=
False
)
@property
@method_cache
(
300
)
...
...
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