Skip to content

Commit

Permalink
Resolved pre-commit issues
Browse files Browse the repository at this point in the history
  • Loading branch information
VaniHaripriya committed Dec 18, 2023
1 parent 098c2d0 commit 9c5eb01
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions controllers/dspipeline_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,9 @@ func (p *DSPAParams) SetupObjectParams(ctx context.Context, dsp *dspa.DataScienc
log.Error(err, "Failed to retrieve external route")
return err
}
externalRoute := fmt.Sprintf("%s", host)
p.ObjectStorageConnection.ExternalRouteURL = externalRoute
p.ObjectStorageConnection.ExternalRouteURL = host
p.ObjectStorageConnection.Secure = util.BoolPointer(true)
p.ObjectStorageConnection.Host = externalRoute
p.ObjectStorageConnection.Host = host
p.ObjectStorageConnection.Scheme = "https"
}
}
Expand Down

0 comments on commit 9c5eb01

Please sign in to comment.