Skip to content

Commit 826d858

Browse files
GokceGKrubenhoenle
andauthored
Update internal/cmd/beta/sfs/project-lock/lock/lock.go
Co-authored-by: Ruben Hönle <Ruben.Hoenle@stackit.cloud>
1 parent 1a56018 commit 826d858

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • internal/cmd/beta/sfs/project-lock/lock

internal/cmd/beta/sfs/project-lock/lock/lock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func parseInput(p *print.Printer, cmd *cobra.Command, _ []string) (*inputModel,
9999
}
100100

101101
func buildRequest(ctx context.Context, model *inputModel, apiClient *sfs.APIClient) sfs.ApiEnableLockRequest {
102-
req := apiClient.DefaultAPI.EnableLock(ctx, model.Region, model.ProjectId)
102+
return apiClient.DefaultAPI.EnableLock(ctx, model.Region, model.ProjectId)
103103
return req
104104
}
105105

0 commit comments

Comments
 (0)