kubernetes-sigs / kube-scheduler-wasm-extension

All the things to make the scheduler extendable with wasm.
Apache License 2.0
83 stars 16 forks source link

Fix minor bug about %v #99

Closed Gekko0114 closed 3 months ago

Gekko0114 commented 3 months ago

What type of PR is this?

/kind bug

What this PR does / why we need it:

We can't pass specific integer to %v. We get the error below. !v(PANIC=String method: runtime error: index out of range [2147483647] with length 6)

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

What are the benchmark results of this change?

Gekko0114 commented 3 months ago

/assign @sanposhiho

k8s-ci-robot commented 3 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Gekko0114, sanposhiho

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/kube-scheduler-wasm-extension/blob/main/OWNERS)~~ [sanposhiho] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment