Skip to content

Commit c15d39a

Browse files
committed
formatting
1 parent 037ee46 commit c15d39a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func NewCmdRoot(streams genericclioptions.IOStreams) *cobra.Command {
102102
rootCmd.AddCommand(servicelog.NewCmdServiceLog())
103103
rootCmd.AddCommand(setup.NewCmdSetup())
104104
rootCmd.AddCommand(swarm.Cmd)
105-
rootCmd.AddCommand(iampermissions.NewCmdIamPermissions())
105+
rootCmd.AddCommand(iampermissions.NewCmdIamPermissions())
106106

107107
// Add cost command to use AWS Cost Manager
108108
rootCmd.AddCommand(cost.NewCmdCost(streams, globalOpts))

pkg/policies/gcp.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ func CredentialsRequestToWifServiceAccount(credReq *cco.CredentialsRequest) (*Se
5353

5454
if len(gcpSpec.Permissions) > 0 {
5555
roleId := strings.ReplaceAll(credReq.Name, "-", "_")
56-
roleId = roleId[:min(64, len(roleId))]
57-
slices.Sort(gcpSpec.Permissions)
56+
roleId = roleId[:min(64, len(roleId))]
57+
slices.Sort(gcpSpec.Permissions)
5858
sa.Roles = append(sa.Roles, Role{
5959
Id: roleId,
6060
Kind: "Role",

0 commit comments

Comments
 (0)