[go: nahoru, domu]

Skip to content
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

Chore: Cache the DiscoveryClient for cli command. #6091

Merged
merged 1 commit into from
Jun 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Chore: Cache the DiscoveryClient for cli command.
Signed-off-by: yanggang <gang.yang@daocloud.io>
  • Loading branch information
yanggang committed Jun 7, 2023
commit a9a0f5be7271c85e49d72f47aa4c717e00daf238
1 change: 1 addition & 0 deletions pkg/utils/common/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,5 +175,6 @@
if err != nil {
return nil, err
}
a.dc = dc

Check warning on line 178 in pkg/utils/common/args.go

View check run for this annotation

Codecov / codecov/patch

pkg/utils/common/args.go#L178

Added line #L178 was not covered by tests
return dc, nil
}
Loading