kubernetes-client / c

Official C client library for Kubernetes
Apache License 2.0
141 stars 45 forks source link

a regression issue caused by fix #160 #170

Closed sarh2o closed 6 months ago

sarh2o commented 1 year ago

Take "CoreV1API_patchNodeStatus"as an example: fix #160 (https://github.com/kubernetes-client/c/pull/160) appends "force=0" to Patch HTTP Request. Then we will get an Error in the response as below.

"causes": [
    {
        "reason": "FieldValueForbidden",
        "message":"Forbidden: may not be specified for non-apply patch","field":"force"
    }
]
ityuhui commented 1 year ago

Thanks for reporting this issue. It's hard to get a solution because we don't want int * as the datatype of the parameter. Do you have any advice?

k8s-triage-robot commented 1 year ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 1 year ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

ityuhui commented 1 year ago

/remove-lifecycle rotten

ityuhui commented 6 months ago

Resovled by https://github.com/kubernetes-client/c/pull/210