-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ShowSpaces for SessionPool #313
Conversation
0fe03f1
to
abbe765
Compare
abbe765
to
dbf83de
Compare
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #313 +/- ##
==========================================
+ Coverage 63.69% 63.70% +0.01%
==========================================
Files 10 10
Lines 2570 2579 +9
==========================================
+ Hits 1637 1643 +6
- Misses 795 797 +2
- Partials 138 139 +1 ☔ View full report in Codecov by Sentry. |
session_pool.go
Outdated
@@ -287,6 +287,18 @@ func (pool *SessionPool) ExecuteAndCheck(q string) (*ResultSet, error) { | |||
return rs, nil | |||
} | |||
|
|||
func (pool *SessionPool) ShowSpaces() ([]LabelName, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its ambiguous to reuse the LabelName, can we redefine a struct SpaceName?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
#311
Description:
How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc: