Skip to content

Commit

Permalink
fix labels.provider issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jianzhangbjz committed Mar 19, 2019
1 parent 5159b0a commit ebcb5c0
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 @@ -325,7 +325,7 @@ func toPackageManifest(pkg *api.Package, client registryClient) (*v1alpha1.Packa
CurrentCSVDesc: v1alpha1.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 = v1alpha1.AppLink{
Name: csv.Spec.Provider.Name,
URL: csv.Spec.Provider.URL,
Expand Down

0 comments on commit ebcb5c0

Please sign in to comment.