mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 09:47:54 +00:00
chore: update to go 1.24.4 and bump dependencies
k8s dependencies to v0.33.2 chore: upgrade tools versions to latest available chore: update-generated chore: update custom-metrics-apiserver to current master chore: remove deprecated code Signed-off-by: Jayapriya Pai <janantha@redhat.com>
This commit is contained in:
parent
01919d0ef1
commit
1b9e052008
7 changed files with 957 additions and 510 deletions
|
|
@ -17,6 +17,7 @@ limitations under the License.
|
|||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"crypto/tls"
|
||||
"crypto/x509"
|
||||
"fmt"
|
||||
|
|
@ -379,7 +380,7 @@ func main() {
|
|||
server.GenericAPIServer.SecureServingInfo.DisableHTTP2 = cmd.DisableHTTP2
|
||||
|
||||
// run the server
|
||||
if err := cmd.Run(stopCh); err != nil {
|
||||
if err := cmd.Run(context.Background()); err != nil {
|
||||
klog.Fatalf("unable to run custom metrics adapter: %v", err)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue