Skip to content

Commit

Permalink
Use repo.IRegistry
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed May 5, 2023
1 parent 2a9e204 commit d91da22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/editor/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
releasesapi "x-helm.dev/apimachinery/apis/releases/v1alpha1"
)

func CreateAppReleaseIfMissing(restcfg *rest.Config, kc client.Client, reg *repo.Registry, model releasesapi.Metadata) (*driversapi.AppRelease, error) {
func CreateAppReleaseIfMissing(restcfg *rest.Config, kc client.Client, reg repo.IRegistry, model releasesapi.Metadata) (*driversapi.AppRelease, error) {
err := driver.EnsureAppReleaseCRD(restcfg, kc.RESTMapper())
if err != nil {
return nil, err
Expand Down

0 comments on commit d91da22

Please sign in to comment.