Skip to content

Commit

Permalink
Merge pull request #6072 from influxdata/dn-rename-func
Browse files Browse the repository at this point in the history
rename CloneUserInfos to CloneUsers
  • Loading branch information
dgnorton committed Mar 21, 2016
2 parents d61d75f + b2d30e4 commit 8afff49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/meta/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -527,8 +527,8 @@ func (data *Data) UpdateUser(name, hash string) error {
return ErrUserNotFound
}

// CloneUserInfos returns a copy of the user infos
func (data *Data) CloneUserInfos() []UserInfo {
// CloneUsers returns a copy of the user infos
func (data *Data) CloneUsers() []UserInfo {
if len(data.Users) == 0 {
return []UserInfo{}
}
Expand Down Expand Up @@ -598,7 +598,7 @@ func (data *Data) Clone() *Data {
other := *data

other.Databases = data.CloneDatabases()
other.Users = data.CloneUserInfos()
other.Users = data.CloneUsers()

return &other
}
Expand Down

0 comments on commit 8afff49

Please sign in to comment.