Skip to content

Client.close method has anti-pattern and lack of unit test #577

@summer-ji-eng

Description

@summer-ji-eng

Calling initialize in close seems like a anti-pattern. It's indeed not needed there, it's enough to just check that this.bigtableStub is defined

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions