openstorage icon indicating copy to clipboard operation
openstorage copied to clipboard

Namespace SDK enums so that theirs strings are easier to read

Open lpabon opened this issue 6 years ago • 0 comments

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

lpabon avatar Mar 20 '19 20:03 lpabon