Skip to content

Commit ab6e1eb

Browse files
jianzhangbjzecordell
authored andcommitted
fix labels.provider issue
1 parent 06ba90e commit ab6e1eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/package-server/provider/registry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ func toPackageManifest(pkg *api.Package, client registryClient) (*operators.Pack
327327
CurrentCSVDesc: operators.CreateCSVDescription(&csv),
328328
}
329329

330-
if manifest.Status.DefaultChannel != "" && csv.GetName() == manifest.Status.DefaultChannel || i == 0 {
330+
if manifest.Status.DefaultChannel != "" && pkgChannel.GetName() == manifest.Status.DefaultChannel || i == 0 {
331331
manifest.Status.Provider = operators.AppLink{
332332
Name: csv.Spec.Provider.Name,
333333
URL: csv.Spec.Provider.URL,

0 commit comments

Comments
 (0)