[v10.0.x] Service accounts: API key migration refactoring to parse as json object of the results (#69776)
Service accounts: API key migration refactoring to parse as json object of the results (#69771)
refactoring to parse as json object of the results
(cherry picked from commit 5dceb5dff3)
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com>
This commit is contained in:
co-authored by
Eric Leijonmarck
parent
f3fab4078d
commit
2c7f295cf4
@@ -38,11 +38,11 @@ var (
|
||||
)
|
||||
|
||||
type MigrationResult struct {
|
||||
Total int
|
||||
Migrated int
|
||||
Failed int
|
||||
FailedApikeyIDs []int64
|
||||
FailedDetails []string
|
||||
Total int `json:"total"`
|
||||
Migrated int `json:"migrated"`
|
||||
Failed int `json:"failed"`
|
||||
FailedApikeyIDs []int64 `json:"failedApikeyIDs"`
|
||||
FailedDetails []string `json:"failedDetails"`
|
||||
}
|
||||
|
||||
type ServiceAccount struct {
|
||||
|
||||
Reference in New Issue
Block a user