Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
57ce6e25
authored
Dec 12, 2017
by
Fukász Rómeó Ervin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
storage: fix flake8 error in storage model
parent
86f33c71
Pipeline
#629
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
circle/storage/models.py
+1
-1
No files found.
circle/storage/models.py
View file @
57ce6e25
...
@@ -122,7 +122,7 @@ class DataStore(Model):
...
@@ -122,7 +122,7 @@ class DataStore(Model):
try
:
try
:
stats
=
self
.
get_statistics
()
stats
=
self
.
get_statistics
()
except
WorkerNotFound
:
except
WorkerNotFound
:
return
-
1
# invalid value for unreachable
return
-
1
# invalid value for unreachable
free_percent
=
float
(
stats
[
'free_percent'
])
free_percent
=
float
(
stats
[
'free_percent'
])
return
int
(
100
-
free_percent
)
return
int
(
100
-
free_percent
)
...
...
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