Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

etcd: modify declaring empty slices #14479

Merged
merged 2 commits into from
Sep 19, 2022

Commits on Sep 16, 2022

  1. etcd: modify declaring empty slices

    declare an empty slice to var s []int replace  s :=[]int{}, https://github.com/golang/go/wiki/CodeReviewComments#declaring-empty-slices
    
    Signed-off-by: demoManito <1430482733@qq.com>
    demoManito committed Sep 16, 2022
    Configuration menu
    Copy the full SHA
    72cf0cc View commit details
    Browse the repository at this point in the history
  2. fix test

    Signed-off-by: demoManito <1430482733@qq.com>
    demoManito committed Sep 16, 2022
    Configuration menu
    Copy the full SHA
    5b26fc0 View commit details
    Browse the repository at this point in the history