mirror of https://github.com/harness/drone.git
fix: [AH-784]: Updated URL provider to update casing for space names (#3158)
* [AH-784]: Updated URL provider to update casing for space namesBT-10437
parent
096b86da47
commit
77ddc2a601
|
@ -246,6 +246,9 @@ func (p *provider) RegistryURL(_ context.Context, params ...string) string {
|
|||
}
|
||||
|
||||
segments := []string{u.Path}
|
||||
if len(params) > 0 {
|
||||
params[0] = strings.ToLower(params[0])
|
||||
}
|
||||
segments = append(segments, params...)
|
||||
fullPath := path.Join(segments...)
|
||||
u.Path = fullPath
|
||||
|
|
Loading…
Reference in New Issue