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
0ec3899c
authored
May 25, 2018
by
Szabolcs Gelencser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix template creation's missing lease attribute
parent
6608d8a8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
circle/vm/operations.py
+1
-0
No files found.
circle/vm/operations.py
View file @
0ec3899c
...
@@ -537,6 +537,7 @@ class SaveAsTemplateOperation(InstanceOperation):
...
@@ -537,6 +537,7 @@ class SaveAsTemplateOperation(InstanceOperation):
image_id
=
template_image_id
,
image_id
=
template_image_id
,
flavor_id
=
self
.
instance
.
flavor
[
"id"
],
flavor_id
=
self
.
instance
.
flavor
[
"id"
],
owner_id
=
user
.
id
,
owner_id
=
user
.
id
,
lease
=
VmLease
.
get_or_create_lease
(
self
.
instance
)
.
lease
)
)
template
.
save
()
template
.
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