Service accounts: API key migration refactoring to parse as json object of the results (#69771)

refactoring to parse as json object of the results
This commit is contained in:
Eric Leijonmarck
2023-06-08 12:12:26 +02:00
committed by GitHub
parent 39fa918492
commit 5dceb5dff3
3 changed files with 7 additions and 8 deletions
+5 -5
View File
@@ -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 {