Skip to content

Commit

Permalink
Updated CR names in kind method
Browse files Browse the repository at this point in the history
Signed-off-by: Yash Sethiya <ysethiya@ysethiya4MD6M.vmware.com>
  • Loading branch information
Yash Sethiya authored and Yash Sethiya committed Jan 24, 2024
1 parent f9b21d3 commit b6667e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (a *App) Name() string { return a.app.Name }
func (a *App) Namespace() string { return a.app.Namespace }

// Kind return kind of App
func (a *App) Kind() string { return "app" }
func (a *App) Kind() string { return "App" }

func (a *App) Status() v1alpha1.AppStatus { return a.app.Status }

Expand Down
2 changes: 1 addition & 1 deletion pkg/packageinstall/packageinstall.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type PackageInstallCR struct {

// Kind return kind of pkg install
func (pi *PackageInstallCR) Kind() string {
return "pkgi"
return "PackageInstall"
}

// nolint: revive
Expand Down
2 changes: 1 addition & 1 deletion pkg/pkgrepository/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (a *App) Name() string { return a.app.Name }
func (a *App) Namespace() string { return a.app.Namespace }

// Kind return kind of pkg repo
func (a *App) Kind() string { return "pkgr" }
func (a *App) Kind() string { return "PackageRepository" }

func (a *App) Status() v1alpha1.AppStatus { return a.app.Status }

Expand Down

0 comments on commit b6667e5

Please sign in to comment.