We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aa4134 commit e69eae6Copy full SHA for e69eae6
pkg/cmd/serviceaccount/list/list.go
@@ -130,12 +130,13 @@ func mapResponseToNewFormat(res kafkamgmtclient.ServiceAccountList) []svcacctmgm
130
131
var serviceaccounts []svcacctmgmtclient.ServiceAccountData
132
133
- for _, svcAcct := range res.GetItems() {
134
-
+ newServiceAccounts := res.GetItems()
+ for _, svcAcct := range newServiceAccounts {
135
timeInt := svcAcct.CreatedAt.Unix()
136
+ saId := svcAcct.GetId()
137
138
formattedServiceAccount := svcacctmgmtclient.ServiceAccountData{
- Id: &svcAcct.Id,
139
+ Id: &saId,
140
ClientId: svcAcct.ClientId,
141
Name: svcAcct.Name,
142
Description: svcAcct.Description,
0 commit comments