v1.6.7
This commit is contained in:
@@ -36,9 +36,7 @@ func (i Stack) Get(ctx context.Context, req GetRequest) (*InfoStack, error) {
|
||||
func (i Stack) GetRaw(ctx context.Context, req GetRequest) ([]byte, error) {
|
||||
err := validators.ValidateRequest(req)
|
||||
if err != nil {
|
||||
for _, validationError := range validators.GetErrors(err) {
|
||||
return nil, validators.ValidationError(validationError)
|
||||
}
|
||||
return nil, validators.ValidationErrors(validators.GetErrors(err))
|
||||
}
|
||||
|
||||
url := "/cloudapi/stack/get"
|
||||
|
||||
Reference in New Issue
Block a user