Typo fixed and simple code.

Signed-off-by: Ri Xu <xuri@360.net>
This commit is contained in:
Ri Xu
2017-10-17 11:30:05 +08:00
parent 7dbbd4e2ba
commit 87e8a936e8
6 changed files with 6 additions and 10 deletions

View File

@@ -42,7 +42,7 @@ type AttachmentStore struct {
networkToNodeLBIP map[string]net.IP
}
// ResetAttachments clears any exsiting load balancer IP to network mapping and
// ResetAttachments clears any existing load balancer IP to network mapping and
// sets the mapping to the given attachments.
func (store *AttachmentStore) ResetAttachments(attachments map[string]string) error {
store.ClearAttachments()