Skip to content

Commit

Permalink
Update components/workbenches/workbenches.go
Browse files Browse the repository at this point in the history
Co-authored-by: Bartosz Majsak <[email protected]>
  • Loading branch information
cam-garrison and bartoszmajsak authored Oct 23, 2023
1 parent ad84d16 commit a165259
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/workbenches/workbenches.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,5 @@ func (w *Workbenches) SetGatewayName(dscispec *dsci.DSCInitializationSpec) error
pattern := `ISTIO_GATEWAY=(.*)/odh-gateway`
replacement := fmt.Sprintf("ISTIO_GATEWAY=%s/odh-gateway", namespace)

if err := common.ReplacePatternsInFile(ossmEnv, map[string]string{pattern: replacement}); err != nil {
return err
}
return nil
return common.ReplacePatternsInFile(ossmEnv, map[string]string{pattern: replacement})
}

0 comments on commit a165259

Please sign in to comment.