Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
38f4c92a
Commit
38f4c92a
authored
Sep 03, 2024
by
Hejing Li
Browse files
eth.py: fix type
parent
565da1fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
experiments/simbricks/orchestration/system/eth.py
experiments/simbricks/orchestration/system/eth.py
+1
-1
No files found.
experiments/simbricks/orchestration/system/eth.py
View file @
38f4c92a
...
...
@@ -53,7 +53,7 @@ class BaseEthNetComponent(base.Component):
def
if_add
(
self
,
i
:
EthInterface
)
->
None
:
self
.
eth_ifs
.
append
(
i
)
def
interfaces
(
self
)
->
list
[
Interface
]:
def
interfaces
(
self
)
->
list
[
Eth
Interface
]:
return
self
.
eth_ifs
...
...
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