Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ed1080d0
authored
Nov 25, 2013
by
Dudás Ádám
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manager: change function's name to more appropriate
parent
fcb3d718
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
circle/manager/scheduler.py
+1
-1
circle/vm/models.py
+1
-1
No files found.
circle/manager/scheduler.py
View file @
ed1080d0
...
...
@@ -17,7 +17,7 @@ class TraitsUnsatisfiableException(Exception):
Exception
.
__init__
(
self
,
message
)
def
ge
t_node
(
instance
,
nodes
):
def
selec
t_node
(
instance
,
nodes
):
''' Select a node for hosting an instance based on its requirements.
'''
# check required traits
...
...
circle/vm/models.py
View file @
ed1080d0
...
...
@@ -680,7 +680,7 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel):
# Schedule
if
self
.
node
is
None
:
self
.
node
=
scheduler
.
ge
t_node
(
self
,
Node
.
objects
.
all
())
self
.
node
=
scheduler
.
selec
t_node
(
self
,
Node
.
objects
.
all
())
self
.
save
()
...
...
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