Skip to content

Add Rm; Add Ls#1

Open
yitopic wants to merge 5 commits into
masterfrom
rm
Open

Add Rm; Add Ls#1
yitopic wants to merge 5 commits into
masterfrom
rm

Conversation

@yitopic
Copy link
Copy Markdown
Contributor

@yitopic yitopic commented Feb 13, 2016

No description provided.

@chenkaitopic
Copy link
Copy Markdown
Contributor

Oh I merged the rename package PR first so there is merge conflict. Can you solve the conflict?

@chenkaitopic never mind. it is supposed to be like that. I fixed the conflicts. :-)

Comment thread etcc.go Outdated
return e
}

func (c *Etcd) Ls(key string) ([]string, error) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

最好注释下2点东西:

  1. 使用了Quorum=true(关于更多quorum=true的信息: Investigate Get Quorum=true option #3)
  2. 如果key对应的node不是dir, 返回key本身

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! 谢谢提醒!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants