-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[refactor] Controllerserver (part 3) - refactor publish unpublish vol…
…ume (#235) * refactor: move the helper funcs and constants from controllerserver.go into a helper file * Adding comments to code for better clarity * updating to use errors.go for grpc errors in helper funcs * refactor getRequestCapacitySize() for better clarity * Adding godoc comments to the grpc functions * update comments * Breakup the createVolume() from a long function into smaller more focused funcs() * Added Unit tests for the new funcs * clean up * cleanup * refactor: breakdown the ControllerPublishVolume() into small helper func for better clarity. Add/update comments. Add/update logging * fix the bug i created :) * Add Unit tests plus misc changes * fix csi-sanity issue * return empty response when there is an error * fix the idempotency issue * fixup commit * update the test case * fixup --------- Co-authored-by: Khaja Omer <komer@akamai.com> Co-authored-by: amold1 <amold1@gmail.com>
- Loading branch information
1 parent
e132756
commit d290cb7
Showing
3 changed files
with
763 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.