Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
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
662df265
authored
Apr 17, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: fix mass delete failing when one vm has an activity in progress
parent
dd0e44ed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
circle/dashboard/views.py
+3
-0
No files found.
circle/dashboard/views.py
View file @
662df265
...
...
@@ -1513,8 +1513,11 @@ class VmMassDelete(LoginRequiredMixin, View):
raise
PermissionDenied
()
# no need for rollback or proper
# error message, this can't
# normally happen.
try
:
i
.
destroy
.
async
(
user
=
request
.
user
)
names
.
append
(
i
.
name
)
except
Exception
as
e
:
logger
.
error
(
e
)
success_message
=
_
(
"Mass delete complete, the following VMs were "
"deleted:
%
s!"
)
%
u', '
.
join
(
names
)
...
...
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