Skip to content

Commit

Permalink
chore(gengapic): fix typo on internal interface documentation (#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
theganyo authored Jun 13, 2022
1 parent f40c830 commit 8499d01
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ bazel-*

# VS Code workspace
*.code-workspace
.vscode/
2 changes: 1 addition & 1 deletion internal/gengapic/client_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (g *generator) clientOptions(serv *descriptor.ServiceDescriptorProto, servN
func (g *generator) internalClientIntfInit(serv *descriptor.ServiceDescriptorProto, servName string) error {
p := g.printf

p("// internal%sClient is an interface that defines the methods availaible from %s.", servName, g.apiName)
p("// internal%sClient is an interface that defines the methods available from %s.", servName, g.apiName)
p("type internal%sClient interface {", servName)
p("Close() error")
p("setGoogleClientInfo(...string)")
Expand Down
2 changes: 1 addition & 1 deletion internal/gengapic/testdata/custom_op_init.want
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// internalClient is an interface that defines the methods availaible from Awesome Foo API.
// internalClient is an interface that defines the methods available from Awesome Foo API.
type internalClient interface {
Close() error
setGoogleClientInfo(...string)
Expand Down
2 changes: 1 addition & 1 deletion internal/gengapic/testdata/deprecated_client_init.want
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// internalClient is an interface that defines the methods availaible from Awesome Foo API.
// internalClient is an interface that defines the methods available from Awesome Foo API.
type internalClient interface {
Close() error
setGoogleClientInfo(...string)
Expand Down
2 changes: 1 addition & 1 deletion internal/gengapic/testdata/empty_client_init.want
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// internalClient is an interface that defines the methods availaible from Awesome Foo API.
// internalClient is an interface that defines the methods available from Awesome Foo API.
type internalClient interface {
Close() error
setGoogleClientInfo(...string)
Expand Down
2 changes: 1 addition & 1 deletion internal/gengapic/testdata/foo_client_init.want
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// internalFooClient is an interface that defines the methods availaible from Awesome Foo API.
// internalFooClient is an interface that defines the methods available from Awesome Foo API.
type internalFooClient interface {
Close() error
setGoogleClientInfo(...string)
Expand Down
2 changes: 1 addition & 1 deletion internal/gengapic/testdata/foo_rest_client_init.want
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// internalFooClient is an interface that defines the methods availaible from Awesome Foo API.
// internalFooClient is an interface that defines the methods available from Awesome Foo API.
type internalFooClient interface {
Close() error
setGoogleClientInfo(...string)
Expand Down
2 changes: 1 addition & 1 deletion internal/gengapic/testdata/lro_client_init.want
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// internalFooClient is an interface that defines the methods availaible from Awesome Foo API.
// internalFooClient is an interface that defines the methods available from Awesome Foo API.
type internalFooClient interface {
Close() error
setGoogleClientInfo(...string)
Expand Down

0 comments on commit 8499d01

Please sign in to comment.