Skip to content

Commit

Permalink
🐛 fix dict translation for cloudrun service traffic
Browse files Browse the repository at this point in the history
  • Loading branch information
vjeffrey committed Jan 17, 2025
1 parent 41b6963 commit 6d5a916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/gcp/resources/cloudrun.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func (g *mqlGcpProjectCloudRunService) services() ([]interface{}, error) {
mqlTraffic = append(mqlTraffic, map[string]interface{}{
"type": t.Type.String(),
"revision": t.Revision,
"percent": t.Percent,
"percent": strconv.Itoa(int(t.Percent))
"tag": t.Tag,
})
}
Expand All @@ -337,7 +337,7 @@ func (g *mqlGcpProjectCloudRunService) services() ([]interface{}, error) {
mqlTrafficStatuses = append(mqlTrafficStatuses, map[string]interface{}{
"type": t.Type.String(),
"revision": t.Revision,
"percent": t.Percent,
"percent": strconv.Itoa(int(t.Percent))
"tag": t.Tag,
"uri": t.Uri,
})
Expand Down

0 comments on commit 6d5a916

Please sign in to comment.