Skip to content

Commit

Permalink
Fix long stop time
Browse files Browse the repository at this point in the history
Signed-off-by: shaoyue.chen <[email protected]>
  • Loading branch information
haorenfsa committed Jan 24, 2024
1 parent 4ec13f8 commit a411d6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/util/rest/rest_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func newRestClientImpl(config *rest.Config) (*RestClientImpl, error) {
}
config.NegotiatedSerializer = serializer.NewCodecFactory(scheme)
config.GroupVersion = &corev1.SchemeGroupVersion
config.APIPath = "api"
restClient, err := rest.RESTClientFor(config)
if err != nil {
return nil, errors.Wrap(err, "failed to create rest client")
Expand Down

0 comments on commit a411d6b

Please sign in to comment.