Skip to content

Commit 8c175b8

Browse files
authored
Fix duplicate control interface path declaration (#48)
* Fix duplicate control interface path declaration * Delete comment referring to deleted variable
1 parent 315ae0e commit 8c175b8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ankaios_sdk/_components/control_interface.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,8 @@ class ControlInterface:
9292
This class handles the interaction with the Ankaios control interface.
9393
It provides methods to send and receive data to and from the control
9494
interface pipes.
95-
96-
Attributes:
97-
path (str): The path to the control interface.
9895
"""
99-
ANKAIOS_CONTROL_INTERFACE_BASE_PATH = "/run/ankaios/control_interface"
96+
ANKAIOS_CONTROL_INTERFACE_BASE_PATH = DEFAULT_CONTROL_INTERFACE_PATH
10097
"(str): The base path for the Ankaios control interface."
10198

10299
def __init__(self,
@@ -113,7 +110,6 @@ def __init__(self,
113110
state_changed_callback (Callable): The callback function to
114111
to call when the state of the control interface changes.
115112
"""
116-
self.path = DEFAULT_CONTROL_INTERFACE_PATH
117113
self._input_file = None
118114
self._output_file = None
119115
# The state of the control interface must not be changed directly.

0 commit comments

Comments
 (0)