From 1ae6489afcf4c03d27907e790b96e99832564e5a Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Wed, 8 Nov 2017 00:46:26 +0000 Subject: [PATCH] spelling: detached --- go/mysql/instance_key.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/mysql/instance_key.go b/go/mysql/instance_key.go index ca5419e..af05a4c 100644 --- a/go/mysql/instance_key.go +++ b/go/mysql/instance_key.go @@ -83,7 +83,7 @@ func (this *InstanceKey) IsValid() bool { return len(this.Hostname) > 0 && this.Port > 0 } -// DetachedKey returns an instance key whose hostname is detahced: invalid, but recoverable +// DetachedKey returns an instance key whose hostname is detached: invalid, but recoverable func (this *InstanceKey) DetachedKey() *InstanceKey { if this.IsDetached() { return this @@ -91,7 +91,7 @@ func (this *InstanceKey) DetachedKey() *InstanceKey { return &InstanceKey{Hostname: fmt.Sprintf("%s%s", detachHint, this.Hostname), Port: this.Port} } -// ReattachedKey returns an instance key whose hostname is detahced: invalid, but recoverable +// ReattachedKey returns an instance key whose hostname is detached: invalid, but recoverable func (this *InstanceKey) ReattachedKey() *InstanceKey { if !this.IsDetached() { return this