Skip to content

Commit

Permalink
fix labels.provider issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jianzhangbjz authored and ecordell committed May 1, 2019
1 parent 06ba90e commit ab6e1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/package-server/provider/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func toPackageManifest(pkg *api.Package, client registryClient) (*operators.Pack
CurrentCSVDesc: operators.CreateCSVDescription(&csv),
}

if manifest.Status.DefaultChannel != "" && csv.GetName() == manifest.Status.DefaultChannel || i == 0 {
if manifest.Status.DefaultChannel != "" && pkgChannel.GetName() == manifest.Status.DefaultChannel || i == 0 {
manifest.Status.Provider = operators.AppLink{
Name: csv.Spec.Provider.Name,
URL: csv.Spec.Provider.URL,
Expand Down

0 comments on commit ab6e1eb

Please sign in to comment.