*: Bump version of vmware/govmomi

Bumping version to include changes that
better handle TLS errors. Bump nescessary
to prepare for when the version of Go is
bumped to 1.20

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
This commit is contained in:
Madhav Jivrajani
2023-01-02 20:56:02 +05:30
parent 45df8f0bb3
commit 8b064fa4be
263 changed files with 32336 additions and 4373 deletions

View File

@@ -17,6 +17,7 @@ limitations under the License.
package soap
import (
"encoding/json"
"fmt"
"reflect"
@@ -49,6 +50,15 @@ func (s soapFaultError) Error() string {
return fmt.Sprintf("%s: %s", s.fault.Code, msg)
}
func (s soapFaultError) MarshalJSON() ([]byte, error) {
out := struct {
Fault *Fault
}{
Fault: s.fault,
}
return json.Marshal(out)
}
type vimFaultError struct {
fault types.BaseMethodFault
}