Skip to content

Commit

Permalink
[chore] update error handling for api create server
Browse files Browse the repository at this point in the history
  • Loading branch information
cuongpiger committed Dec 9, 2024
1 parent ba0f623 commit b8c5be8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vngcloud/services/compute/v2/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ func (s *ComputeServiceV2) CreateServer(popts ICreateServerRequest) (*lsentity.S
lserr.WithErrorVolumeTypeNotFound(errResp),
lserr.WithErrorNetworkNotFound(errResp),
lserr.WithErrorVolumeExceedQuota(errResp),
lserr.WithErrorVolumeSizeExceedGlobalQuota(errResp),
lserr.WithErrorSecgroupNotFound(errResp),
lserr.WithErrorServerImageNotSupported(errResp),
lserr.WithErrorServerFlavorNotSupported(errResp),
Expand Down

0 comments on commit b8c5be8

Please sign in to comment.