Skip to content

Commit

Permalink
refactor(errorreporting): debrand Stackdriver from Error Reporting (#…
Browse files Browse the repository at this point in the history
…3021)

Debrand "Stackdriver" in favor of "Cloud" in Error Reporting. As a follow up to #3007.

It looks like I need to update upstream as well since there are mentions of Stackdriver in `errorreporting/apiv1beta1`
  • Loading branch information
0xSage authored Oct 14, 2020
1 parent 99bd00b commit 3c3a88d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Next, ensure the following APIs are enabled in the general project:
- Google Compute Engine Instance Group Updater API
- Google Compute Engine Instance Groups API
- Kubernetes Engine API
- Stackdriver Error Reporting API
- Cloud Error Reporting API

Next, create a Datastore database in the general project, and a Firestore
database in the Firestore project.
Expand Down
2 changes: 1 addition & 1 deletion errorreporting/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Package errorreporting is a Google Stackdriver Error Reporting library.
// Package errorreporting is a Google Cloud Error Reporting library.
//
// Any provided stacktraces must match the format produced by https://golang.org/pkg/runtime/#Stack
// or as per https://cloud.google.com/error-reporting/reference/rest/v1beta1/projects.events/report#ReportedErrorEvent
Expand Down
2 changes: 1 addition & 1 deletion errorreporting/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func Example() {
}
defer func() {
if err := ec.Close(); err != nil {
log.Printf("failed to report errors to Stackdriver: %v", err)
log.Printf("failed to report errors to Cloud Error Reporting: %v", err)
}
}()

Expand Down
4 changes: 2 additions & 2 deletions internal/.repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -321,15 +321,15 @@
},
"cloud.google.com/go/errorreporting": {
"distribution_name": "cloud.google.com/go/errorreporting",
"description": "Stackdriver Error Reporting API",
"description": "Cloud Error Reporting API",
"language": "Go",
"client_library_type": "manual",
"docs_url": "https://pkg.go.dev/cloud.google.com/go/errorreporting",
"release_level": "beta"
},
"cloud.google.com/go/errorreporting/apiv1beta1": {
"distribution_name": "cloud.google.com/go/errorreporting/apiv1beta1",
"description": "Stackdriver Error Reporting API",
"description": "Cloud Error Reporting API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://pkg.go.dev/cloud.google.com/go/errorreporting/apiv1beta1",
Expand Down
2 changes: 1 addition & 1 deletion internal/gapicgen/generator/gapics.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ var manualEntries = []manifestEntry{
// Manuals with a GAPIC.
{
DistributionName: "cloud.google.com/go/errorreporting",
Description: "Stackdriver Error Reporting API",
Description: "Cloud Error Reporting API",
Language: "Go",
ClientLibraryType: "manual",
DocsURL: "https://pkg.go.dev/cloud.google.com/go/errorreporting",
Expand Down

0 comments on commit 3c3a88d

Please sign in to comment.