فهرست منبع

Merge pull request #1485 from agapoff/improved-mock-delete-acl-response

Use response with the same version as request in MockDeleteAclsResponse
Vlad Gorodetsky 6 سال پیش
والد
کامیت
2af3badd8c
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      mockresponses.go

+ 1 - 0
mockresponses.go

@@ -913,6 +913,7 @@ func (mr *MockDeleteAclsResponse) For(reqBody versionedDecoder) encoder {
 		response.MatchingAcls = append(response.MatchingAcls, &MatchingAcl{Err: ErrNoError})
 		res.FilterResponses = append(res.FilterResponses, response)
 	}
+	res.Version = int16(req.Version)
 	return res
 }