Skip to content

Commit fa8670e

Browse files
committed
Fix pointer reference
1 parent 701812c commit fa8670e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

command/v7/shared/app_stager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func (stager *Stager) StartApp(app resources.Application, space configv3.Space,
124124
}
125125

126126
if opts.Strategy == constant.DeploymentStrategyCanary && len(opts.CanarySteps) > 0 {
127-
dep.Options = resources.DeploymentOpts{CanaryDeploymentOptions: resources.CanaryDeploymentOptions{Steps: opts.CanarySteps}}
127+
dep.Options = resources.DeploymentOpts{CanaryDeploymentOptions: &resources.CanaryDeploymentOptions{Steps: opts.CanarySteps}}
128128
}
129129
switch opts.AppAction {
130130
case constant.ApplicationRollingBack:

0 commit comments

Comments
 (0)