Skip to content

Commit

Permalink
prealloc
Browse files Browse the repository at this point in the history
  • Loading branch information
bdwyertech committed May 25, 2023
1 parent a739694 commit 5a5c9fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/workspace/workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func (c *connector) Connect(ctx context.Context, mg resource.Managed) (managed.E
*pc.Spec.PluginCache = true
}

var envs []string
envs := make([]string, len(cr.Spec.ForProvider.Env))
for _, env := range cr.Spec.ForProvider.Env {
runtimeVal := env.Value
if runtimeVal == "" {
Expand Down

0 comments on commit 5a5c9fe

Please sign in to comment.