Skip to content

Commit

Permalink
[chore][fix] fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cuongpiger committed May 20, 2024
1 parent 653534f commit 10daeef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vngcloud/services/compute/v2/irequest.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type ICreateServerRequest interface {
WithTags(ptags ...string) ICreateServerRequest
WithAttachFloating(pattachFloating bool) ICreateServerRequest
WithSecgroups(psecgroups ...string) ICreateServerRequest
WithPoct(pisPoc bool) ICreateServerRequest
WithPoc(pisPoc bool) ICreateServerRequest
WithType(ptype string) ICreateServerRequest
WithProduct(pproduct string) ICreateServerRequest
}
Expand Down
2 changes: 1 addition & 1 deletion vngcloud/services/compute/v2/server_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (s *CreateServerRequest) WithSecgroups(psecgroups ...string) ICreateServerR
return s
}

func (s *CreateServerRequest) WithPoct(pisPoc bool) ICreateServerRequest {
func (s *CreateServerRequest) WithPoc(pisPoc bool) ICreateServerRequest {
s.IsPoc = pisPoc
return s
}
Expand Down

0 comments on commit 10daeef

Please sign in to comment.