Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
5
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
2b7da3e3
authored
2 years ago
by
Szeberényi Imre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disk serialization to VMDisk fix
parent
edec537a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
circle/storage/models.py
+1
-0
circle/vm/operations.py
+1
-1
No files found.
circle/storage/models.py
View file @
2b7da3e3
...
...
@@ -339,6 +339,7 @@ class Disk(TimeStampedModel):
"""Serialize disk object to the vmdriver.
"""
return
{
'name'
:
self
.
name
,
'source'
:
self
.
path
,
'driver_type'
:
self
.
vm_format
,
'driver_cache'
:
'none'
,
...
...
This diff is collapsed.
Click to expand it.
circle/vm/operations.py
View file @
2b7da3e3
...
...
@@ -82,7 +82,7 @@ class RemoteOperationMixin(object):
class
AbortableRemoteOperationMixin
(
object
):
remote_step
=
property
(
lambda
self
:
self
.
remote_timeout
/
10
)
remote_step
=
property
(
lambda
self
:
self
.
remote_timeout
/
/
10
)
def
_operation
(
self
,
task
,
**
kwargs
):
args
=
self
.
_get_remote_args
(
**
kwargs
),
...
...
This diff is collapsed.
Click to expand it.
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