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
60aa1540
authored
Aug 01, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vm: fix agent_started()
parent
c8d4ae25
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
circle/vm/tasks/local_agent_tasks.py
+4
-2
No files found.
circle/vm/tasks/local_agent_tasks.py
View file @
60aa1540
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
# You should have received a copy of the GNU General Public License along
# You should have received a copy of the GNU General Public License along
# with CIRCLE. If not, see <http://www.gnu.org/licenses/>.
# with CIRCLE. If not, see <http://www.gnu.org/licenses/>.
from
common.models
import
create_readable
from
manager.mancelery
import
celery
from
manager.mancelery
import
celery
from
vm.tasks.agent_tasks
import
(
restart_networking
,
change_password
,
from
vm.tasks.agent_tasks
import
(
restart_networking
,
change_password
,
set_time
,
set_hostname
,
start_access_server
,
set_time
,
set_hostname
,
start_access_server
,
...
@@ -87,8 +88,9 @@ def agent_started(vm, version=None):
...
@@ -87,8 +88,9 @@ def agent_started(vm, version=None):
try
:
try
:
with
act
.
sub_activity
(
with
act
.
sub_activity
(
'update'
,
'update'
,
readable_name
=
ugettext_noop
(
'update to
%(version)
s'
),
readable_name
=
create_readable
(
version
=
settings
.
AGENT_VERSION
ugettext_noop
(
'update to
%(version)
s'
),
version
=
settings
.
AGENT_VERSION
)
):
):
update
.
apply_async
(
update
.
apply_async
(
queue
=
queue
,
queue
=
queue
,
...
...
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