etcd: fix typos

This commit is contained in:
Oliver Gugger committed 2022-10-13 09:37:52 +02:00
1 parent b51b1e2f73
commit 98f359c5b7
4 files changed
+13 -13

No files matched your search

+3 -3
View File
@@ -41,8 +41,8 @@ func NewTestEtcdInstance(t *testing.T, path string) (*Config, func()) {
return config, cleanup
}
// NewTestEtcdTestFixture creates a new etcd-test fixture. This is helper
// object to facilitate etcd tests and ensure pre and post conditions.
// NewEtcdTestFixture creates a new etcd-test fixture. This is helper
// object to facilitate etcd tests and ensure pre- and post-conditions.
func NewEtcdTestFixture(t *testing.T) *EtcdTestFixture {
tmpDir := t.TempDir()
@@ -128,7 +128,7 @@ func (f *EtcdTestFixture) Dump() map[string]string {
return result
}
// BackendConfig returns the backend config for connecting to theembedded
// BackendConfig returns the backend config for connecting to the embedded
// etcd instance.
func (f *EtcdTestFixture) BackendConfig() Config {
return *f.config