openstorage
openstorage copied to clipboard
Namespace SDK enums so that theirs strings are easier to read
Is this a BUG REPORT or FEATURE REQUEST?: FEATURE
What happened: SDK proto enums should be inside a message so that the strings are easier to comprehend. Instead of using:
https://github.com/libopenstorage/openstorage/blob/a0292ebee0c3c4ee9c871173ff599bd3353dcf22/api/api.proto#L2721-L2724
Use:
https://github.com/libopenstorage/openstorage/blob/a0292ebee0c3c4ee9c871173ff599bd3353dcf22/api/api.proto#L3129-L3137
See: https://github.com/libopenstorage/openstorage/pull/957#discussion_r267186537