Skip to content

Commit

Permalink
chore: remove print debug
Browse files Browse the repository at this point in the history
  • Loading branch information
chansuke committed Sep 18, 2024
1 parent ad0a706 commit 4480280
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions scheduler/plugin/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,15 +551,9 @@ func (h host) k8sHandleGetWaitingPodFn(ctx context.Context, mod wazeroapi.Module
}
uid := types.UID(b)
waitingPod := h.handle.GetWaitingPod(uid)
println("waitingPod: ", waitingPod)
if waitingPod == nil {
print("waitingPod is nil")
stack[0] = 0 // Return 0 to indicate no pod found or an error
return
panic("waitingPod not found")
}

print("waitingPod!!!!!!: ", waitingPod)
print("waitingPod.GetPod() : ", waitingPod.GetPod())

stack[0] = uint64(marshalIfUnderLimit(mod.Memory(), waitingPod.GetPod(), oBuf, oBufLimit))
}

0 comments on commit 4480280

Please sign in to comment.