Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In order to have a good experience with our community, we recommend that you read the contributing guidelines for making a pull request.
Summary of Pull Request
Technical Debt: errcheck
Check the return value to ensure that any issues are caught and handled appropriately.
hcx/activation.go
: Added error handling for JSON encoding inPostActivate
andDeleteActivate
functions. [1] [2]hcx/certificate.go
: Added error handling for JSON encoding inInsertCertificate
function.hcx/client.go
: Added error handling for XML unmarshalling inHcxConnectorAuthenticate
function.hcx/compute_profile.go
: Added error handling for JSON encoding inInsertComputeProfile
function.hcx/l2_extension.go
: Added error handling for JSON encoding inInsertL2Extension
function.hcx/location.go
: Added error handling for JSON encoding inSetLocation
function.hcx/network_profile.go
: Added error handling for JSON encoding in various functions such asInsertNetworkProfile
,GetNetworkProfile
,GetNetworkProfileById
, andUpdateNetworkProfile
. [1] [2] [3] [4]hcx/role_mapping.go
: Added error handling for JSON encoding inPutRoleMapping
function.hcx/service_mesh.go
: Added error handling for JSON encoding inInsertServiceMesh
function.hcx/site_pairing.go
: Added error handling for JSON encoding inInsertSitePairing
function.hcx/sso.go
: Added error handling for JSON encoding inInsertSSO
andUpdateSSO
functions. [1] [2]hcx/utils.go
: Added error handling for JSON encoding in various utility functions such asGetLocalContainer
,GetRemoteContainer
,GetNetworkBacking
,GetVcDatastore
,GetVcDvs
,GetRemoteCloudList
,GetLocalCloudList
,GetAppliance
, andGetAppliances
. [1] [2] [3] [4] [5] [6] [7] [8] [9]hcx/vcenter.go
: Added error handling for JSON encoding inInsertvCenter
function.hcx/vmc.go
: Added error handling for JSON encoding inHcxCloudAuthenticate
function.resource_compute_profile.go
: Added error handling for JSON encoding inresourceComputeProfileCreate
function.resource_l2_extension.go
: Added error handling for JSON encoding inresourceL2ExtensionCreate
function.resource_service_mesh.go
: Added error handling for JSON encoding inresourceServiceMeshCreate
function.resource_sso.go
: Added error handling forDeleteSSO
function.resource_vcenter.go
: Added error handling forAppEngineStop
,AppEngineStart
, andDeletevCenter
functions inresourcevCenterCreate
andresourcevCenterDelete
functions. [1] [2] [3]Type of Pull Request
Please describe:
Related to Existing Issues
Ref: #42
Test and Documentation Coverage
For bug fixes or features:
Breaking Changes?