Skip to content

Commit

Permalink
Fix a bug with managing the users on m1000e chassis
Browse files Browse the repository at this point in the history
We were writing all the users to id=2 and the last write wins.
  • Loading branch information
Ahmed Abdrabo committed Oct 27, 2020
1 parent 13026a9 commit 6ac44a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions providers/dell/m1000e/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ func (m *M1000e) User(cfgUsers []*cfgresources.User) (err error) {
return err
}

id := 1
for _, cfgUser := range cfgUsers {
for id, cfgUser := range cfgUsers {

userID := id + 1
//setup params to post
Expand Down

0 comments on commit 6ac44a4

Please sign in to comment.