mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
Move map_comp test to passing
This commit is contained in:
@ -14,7 +14,7 @@ def last() -> HashMap:
|
|||||||
def hello_world(ctx: c_void_p) -> c_int64:
|
def hello_world(ctx: c_void_p) -> c_int64:
|
||||||
last.update(0, 1)
|
last.update(0, 1)
|
||||||
tsp = last.lookup(0)
|
tsp = last.lookup(0)
|
||||||
if not (tsp > 0):
|
if tsp > 0:
|
||||||
print("Hello, World!")
|
print("Hello, World!")
|
||||||
else:
|
else:
|
||||||
print("Goodbye, World!")
|
print("Goodbye, World!")
|
||||||
Reference in New Issue
Block a user