Update addon.go

line 140: return nil, fmt.Errorf("error applying annotation to to record addon installation: %v", err)
I guess the word "to to" is duplicated here, isn't it?
This commit is contained in:
AdamDang 2018-03-31 22:48:14 +08:00 committed by GitHub
parent cebc7017bc
commit 5e1a9315d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ func (a *Addon) EnsureUpdated(k8sClient kubernetes.Interface) (*AddonUpdate, err
channel := a.buildChannel()
err = channel.SetInstalledVersion(k8sClient, a.ChannelVersion())
if err != nil {
return nil, fmt.Errorf("error applying annotation to to record addon installation: %v", err)
return nil, fmt.Errorf("error applying annotation to record addon installation: %v", err)
}
return required, nil