Skip to content

Commit 3fa8ab7

Browse files
committed
Fix comment issue in controlplane/kubeadm/internal/etcd/etcd.go
Signed-off-by: chymy <[email protected]> Signed-off-by: chymy <[email protected]>
1 parent ef06802 commit 3fa8ab7

File tree

1 file changed

+2
-2
lines changed
  • controlplane/kubeadm/internal/etcd

1 file changed

+2
-2
lines changed

controlplane/kubeadm/internal/etcd/etcd.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ type MemberAlarm struct {
6868
type AlarmType int32
6969

7070
const (
71-
// AlarmOK denotes that the cluster member is OK.
71+
// AlarmOk denotes that the cluster member is OK.
7272
AlarmOk AlarmType = iota
7373

7474
// AlarmNoSpace denotes that the cluster member has run out of disk space.
@@ -211,7 +211,7 @@ func (c *Client) RemoveMember(ctx context.Context, id uint64) error {
211211
return errors.Wrapf(err, "failed to remove member: %v", id)
212212
}
213213

214-
// UpdateMemberPeerList updates the list of peer URLs.
214+
// UpdateMemberPeerURLs updates the list of peer URLs.
215215
func (c *Client) UpdateMemberPeerURLs(ctx context.Context, id uint64, peerURLs []string) ([]*Member, error) {
216216
response, err := c.EtcdClient.MemberUpdate(ctx, id, peerURLs)
217217
if err != nil {

0 commit comments

Comments
 (0)