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

rgw/admin: Fixup for 6f90ce1 #960

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions rgw/admin/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type User struct {
UserQuota QuotaSpec `json:"user_quota"`
TempURLKeys []interface{} `json:"temp_url_keys"`
Type string `json:"type"`
MfaIDs []interface{} `json:"mfa_ids"`
MfaIds []interface{} `json:"mfa_ids"` //revive:disable-line:var-naming old-yet-exported public api
KeyType string `url:"key-type"`
Tenant string `url:"tenant"`
GenerateKey *bool `url:"generate-key"`
Expand Down Expand Up @@ -120,7 +120,6 @@ func (api *API) GetUser(ctx context.Context, user User) (User, error) {

// valid parameters not supported by go-ceph: sync
body, err := api.call(ctx, http.MethodGet, "/user", valueToURLParams(user, []string{"uid", "access-key", "stats"}))

anoopcs9 marked this conversation as resolved.
Show resolved Hide resolved
if err != nil {
return User{}, err
}
Expand Down