Repository navigation
DAOS-17322 ddb: DTX aggregation with ddb (Part 2) #16746
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
Changes from all commits
3a2f099
22ab8bf
a329d20
c2b4bb7
5e45d30
4017abf
81ed634
bf83502
663bff0
5a242a9
bfd2588
f35e531
20cb306
f474fcb
7a36240
98b381d
f798b07
9ed9532
a7bbda1
2a604ef
74a85bb
9dfa864
c6ee641
92d784d
12c8084
643bef1
ec9038c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -71,7 +71,7 @@ type ddbCmdStr string | |
|
|
||
| func (cmdStr ddbCmdStr) Complete(match string) (comps []flags.Completion) { | ||
| // hack to get at command names | ||
| ctx, cleanup, err := InitDdb() | ||
| ctx, cleanup, err := InitDdb(nil) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it OK to pass nil here?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep, the associated complete function are indeed never using the log attributes. |
||
| if err != nil { | ||
| return | ||
| } | ||
|
|
@@ -176,7 +176,7 @@ Example Paths: | |
| log.Debug("debug output enabled") | ||
| } | ||
|
|
||
| ctx, cleanup, err := InitDdb() | ||
| ctx, cleanup, err := InitDdb(log) | ||
| if err != nil { | ||
| return errors.Wrap(err, "Error initializing the DDB Context") | ||
| } | ||
|
|
||
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.
minor, typo
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.
I am going to fix it in a follow-up PR
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.
Fixed with PR #17022