Skip to content

Commit

Permalink
[chore] update error handler when deleting server
Browse files Browse the repository at this point in the history
  • Loading branch information
cuongpiger committed Oct 13, 2024
1 parent 0272926 commit 291e463
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vngcloud/services/compute/v2/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ func (s *ComputeServiceV2) DeleteServerById(popts IDeleteServerByIdRequest) lser
if _, sdkErr := s.VServerClient.Delete(url, req); sdkErr != nil {
return lserr.SdkErrorHandler(sdkErr, errResp,
lserr.WithErrorServerNotFound(errResp),
lserr.WithErrorVolumeInProcess(errResp),
lserr.WithErrorServerDeleteDeletingServer(errResp),
lserr.WithErrorServerDeleteBillingServer(errResp),
lserr.WithErrorServerDeleteCreatingServer(errResp),
Expand Down

0 comments on commit 291e463

Please sign in to comment.