mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-09 11:46:27 +02:00
chore(deps): bump google.golang.org/api from 0.124.0 to 0.125.0 (#2544)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.124.0 to 0.125.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.124.0...v0.125.0) --- updated-dependencies: - dependency-name: google.golang.org/api dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"v2": "2.8.0"
|
||||
"v2": "2.10.0"
|
||||
}
|
||||
|
||||
+26
@@ -1,5 +1,31 @@
|
||||
# Changelog
|
||||
|
||||
## [2.10.0](https://github.com/googleapis/gax-go/compare/v2.9.1...v2.10.0) (2023-05-30)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* update dependencies ([#280](https://github.com/googleapis/gax-go/issues/280)) ([4514281](https://github.com/googleapis/gax-go/commit/4514281058590f3637c36bfd49baa65c4d3cfb21))
|
||||
|
||||
## [2.9.1](https://github.com/googleapis/gax-go/compare/v2.9.0...v2.9.1) (2023-05-23)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **v2:** drop cloud lro test dep ([#276](https://github.com/googleapis/gax-go/issues/276)) ([c67eeba](https://github.com/googleapis/gax-go/commit/c67eeba0f10a3294b1d93c1b8fbe40211a55ae5f)), refs [#270](https://github.com/googleapis/gax-go/issues/270)
|
||||
|
||||
## [2.9.0](https://github.com/googleapis/gax-go/compare/v2.8.0...v2.9.0) (2023-05-22)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **apierror:** add method to return HTTP status code conditionally ([#274](https://github.com/googleapis/gax-go/issues/274)) ([5874431](https://github.com/googleapis/gax-go/commit/587443169acd10f7f86d1989dc8aaf189e645e98)), refs [#229](https://github.com/googleapis/gax-go/issues/229)
|
||||
|
||||
|
||||
### Documentation
|
||||
|
||||
* add ref to usage with clients ([#272](https://github.com/googleapis/gax-go/issues/272)) ([ea4d72d](https://github.com/googleapis/gax-go/commit/ea4d72d514beba4de450868b5fb028601a29164e)), refs [#228](https://github.com/googleapis/gax-go/issues/228)
|
||||
|
||||
## [2.8.0](https://github.com/googleapis/gax-go/compare/v2.7.1...v2.8.0) (2023-03-15)
|
||||
|
||||
|
||||
|
||||
+14
@@ -29,6 +29,10 @@
|
||||
|
||||
// Package apierror implements a wrapper error for parsing error details from
|
||||
// API calls. Both HTTP & gRPC status errors are supported.
|
||||
//
|
||||
// For examples of how to use [APIError] with client libraries please reference
|
||||
// [Inspecting errors](https://pkg.go.dev/cloud.google.com/go#hdr-Inspecting_errors)
|
||||
// in the client library documentation.
|
||||
package apierror
|
||||
|
||||
import (
|
||||
@@ -345,3 +349,13 @@ func parseHTTPDetails(gae *googleapi.Error) ErrDetails {
|
||||
|
||||
return parseDetails(details)
|
||||
}
|
||||
|
||||
// HTTPCode returns the underlying HTTP response status code. This method returns
|
||||
// `-1` if the underlying error is a [google.golang.org/grpc/status.Status]. To
|
||||
// check gRPC error codes use [google.golang.org/grpc/status.Code].
|
||||
func (a *APIError) HTTPCode() int {
|
||||
if a.httpErr == nil {
|
||||
return -1
|
||||
}
|
||||
return a.httpErr.Code
|
||||
}
|
||||
|
||||
+1
-1
@@ -30,4 +30,4 @@
|
||||
package internal
|
||||
|
||||
// Version is the current tagged release of the library.
|
||||
const Version = "2.8.0"
|
||||
const Version = "2.10.0"
|
||||
|
||||
Reference in New Issue
Block a user