Skip to content

Commit e034aba

Browse files
committed
fix: test error
Signed-off-by: Magyari Sandor Szilard <[email protected]>
1 parent 42c8d06 commit e034aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: wfsm/internal/wfsm/manifest/manifest.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (m manifestService) ValidateDeploymentOptions() error {
5656
}
5757

5858
func (m manifestService) GetDeploymentOptionIdx(option *string) (int, error) {
59-
if len(*option) == 0 {
59+
if option == nil || len(*option) == 0 {
6060
return 0, nil
6161
}
6262
for i, opt := range m.manifest.Deployment.DeploymentOptions {

0 commit comments

Comments
 (0)