mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 09:08:26 +01:00
Fix bug when reading the readme.md of helm chart (#11059)
Fix bug when reading the readme.md of helm chart Signed-off-by: Wenkai Yin <yinw@vmware.com>
This commit is contained in:
parent
46fe1182b7
commit
d250e6998e
@ -64,11 +64,11 @@ func (cho *operator) GetDetails(content []byte) (*VersionDetails, error) {
|
||||
for _, v := range chartData.Raw {
|
||||
if strings.ToUpper(v.Name) == readmeFileName {
|
||||
files[readmeFileName] = string(v.Data)
|
||||
break
|
||||
continue
|
||||
}
|
||||
if strings.ToUpper(v.Name) == valuesFileName {
|
||||
files[valuesFileName] = string(v.Data)
|
||||
break
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user