-
Notifications
You must be signed in to change notification settings - Fork 385
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
cleanup(quickstart): gkeconnect quickstart use correct inputs #14666
cleanup(quickstart): gkeconnect quickstart use correct inputs #14666
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14666 +/- ##
==========================================
- Coverage 93.59% 93.59% -0.01%
==========================================
Files 2316 2316
Lines 207140 207140
==========================================
- Hits 193868 193864 -4
- Misses 13272 13276 +4 ☔ View full report in Codecov by Sentry. |
@@ -14,21 +14,27 @@ | |||
|
|||
//! [all] | |||
#include "google/cloud/gkeconnect/gateway/v1/gateway_control_client.h" | |||
#include "google/cloud/internal/absl_str_cat_quiet.h" |
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.
We don't want customers including internal headers in their applications, so we shouldn't include internal headers in our examples/quickstarts.
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.
It is interesting, I am using #include "absl/strings/str_cat.h"
, it is automatically replaced by checkers-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.
https://screenshot.googleplex.com/AVbJ46XqY6yxaPG
Does that mean we can't use absl::StrCat
in quickstart code?
I can replace it with plain string addition.
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.
Yeah. I think we tend to do string addition in these.
Make gkeconnect quickstart use correct inputs.
name=projects/*/locations/*/memberships/*
This change is