From 257aefd033e819d318499092b9ef9d12148542ef Mon Sep 17 00:00:00 2001 From: Scott Ganyo Date: Tue, 14 Jun 2022 14:25:49 -0700 Subject: [PATCH] fix misspellings in generated files (#608) * gofmt fixes * fix misspellings * add `gofmt -s` * fix misspellings in generated files --- gapic/admin_client.go | 2 +- gapic/provisioning_client.go | 2 +- gapic/registry_client.go | 2 +- rpc/diff_analytics.pb.go | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gapic/admin_client.go b/gapic/admin_client.go index f6bcf51b7..13d8f75d6 100644 --- a/gapic/admin_client.go +++ b/gapic/admin_client.go @@ -77,7 +77,7 @@ func defaultAdminCallOptions() *AdminCallOptions { } } -// internalAdminClient is an interface that defines the methods availaible from . +// internalAdminClient is an interface that defines the methods available from . type internalAdminClient interface { Close() error setGoogleClientInfo(...string) diff --git a/gapic/provisioning_client.go b/gapic/provisioning_client.go index b1167a995..870bc9415 100644 --- a/gapic/provisioning_client.go +++ b/gapic/provisioning_client.go @@ -64,7 +64,7 @@ func defaultProvisioningCallOptions() *ProvisioningCallOptions { } } -// internalProvisioningClient is an interface that defines the methods availaible from . +// internalProvisioningClient is an interface that defines the methods available from . type internalProvisioningClient interface { Close() error setGoogleClientInfo(...string) diff --git a/gapic/registry_client.go b/gapic/registry_client.go index 046defa79..c0b0a88a4 100644 --- a/gapic/registry_client.go +++ b/gapic/registry_client.go @@ -584,7 +584,7 @@ func defaultRegistryCallOptions() *RegistryCallOptions { } } -// internalRegistryClient is an interface that defines the methods availaible from . +// internalRegistryClient is an interface that defines the methods available from . type internalRegistryClient interface { Close() error setGoogleClientInfo(...string) diff --git a/rpc/diff_analytics.pb.go b/rpc/diff_analytics.pb.go index eb1d314e2..98145b9c4 100644 --- a/rpc/diff_analytics.pb.go +++ b/rpc/diff_analytics.pb.go @@ -185,11 +185,11 @@ type ChangeStats struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // breaking_change_count repersents the total number of breaking changes. + // breaking_change_count represents the total number of breaking changes. BreakingChangeCount int64 `protobuf:"varint,1,opt,name=breaking_change_count,json=breakingChangeCount,proto3" json:"breaking_change_count,omitempty"` - // nonbreaking_change_count repersents the total number of non-breaking changes. + // nonbreaking_change_count represents the total number of non-breaking changes. NonbreakingChangeCount int64 `protobuf:"varint,2,opt,name=nonbreaking_change_count,json=nonbreakingChangeCount,proto3" json:"nonbreaking_change_count,omitempty"` - // diff_count repersents the number of diffs used in this stats + // diff_count represents the number of diffs used in this stats DiffCount int64 `protobuf:"varint,3,opt,name=diff_count,json=diffCount,proto3" json:"diff_count,omitempty"` } @@ -316,9 +316,9 @@ type Diff_ValueChange struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // from repersents the previous value of the element. + // from represents the previous value of the element. From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` - // to repersents the current value of the element. + // to represents the current value of the element. To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` }