Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
nrm
Commits
4bca474a
Commit
4bca474a
authored
Dec 21, 2018
by
Swann Perarnau
Browse files
[fix] disable application actuator
Doesn't work with the new downstream API.
parent
75df2004
Changes
1
Hide whitespace changes
Inline
Side-by-side
nrm/daemon.py
View file @
4bca474a
...
...
@@ -2,7 +2,7 @@ from __future__ import print_function
from
applications
import
ApplicationManager
from
containers
import
ContainerManager
from
controller
import
Controller
,
ApplicationActuator
,
PowerActuator
from
controller
import
Controller
,
PowerActuator
from
powerpolicy
import
PowerPolicyManager
from
functools
import
partial
import
logging
...
...
@@ -279,9 +279,8 @@ class Daemon(object):
)
self
.
application_manager
=
ApplicationManager
()
self
.
sensor_manager
=
SensorManager
()
aa
=
ApplicationActuator
(
self
.
application_manager
,
self
.
downstream_pub
)
pa
=
PowerActuator
(
self
.
sensor_manager
)
self
.
controller
=
Controller
([
aa
,
pa
])
self
.
controller
=
Controller
([
pa
])
self
.
sensor_manager
.
start
()
self
.
machine_info
=
self
.
sensor_manager
.
do_update
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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