Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

Remove args of Provision method #67

Merged
merged 2 commits into from
May 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion controllers/cache/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (redis *RedisReconciler) Reconcile() (*lcm.CRStatus, error) {
return nil, nil
}

func (redis *RedisReconciler) Provision(spec *goharborv1.HarborCluster) (*lcm.CRStatus, error) {
func (redis *RedisReconciler) Provision() (*lcm.CRStatus, error) {
panic("implement me")
}

Expand Down
2 changes: 1 addition & 1 deletion controllers/database/postgresql.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func (postgresql *PostgreSQLReconciler) Reconcile() (*lcm.CRStatus, error) {
return nil, nil
}

func (postgresql *PostgreSQLReconciler) Provision(spec *goharborv1.HarborCluster) (*lcm.CRStatus, error) {
func (postgresql *PostgreSQLReconciler) Provision() (*lcm.CRStatus, error) {
panic("implement me")
}

Expand Down
2 changes: 1 addition & 1 deletion controllers/harbor/harbor.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func (harbor *HarborReconciler) Reconcile() (*lcm.CRStatus, error) {
return nil, nil
}

func (harbor *HarborReconciler) Provision(spec *goharborv1.HarborCluster) (*lcm.CRStatus, error) {
func (harbor *HarborReconciler) Provision() (*lcm.CRStatus, error) {
panic("implement me")
}

Expand Down
2 changes: 1 addition & 1 deletion lcm/lcm.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import v1 "github.com/goharbor/harbor-cluster-operator/api/v1"

type Controller interface {
// Provision the new dependent service by the related section of cluster spec.
Provision(spec *v1.HarborCluster) (*CRStatus, error)
Provision() (*CRStatus, error)

// Delete the service
Delete() (*CRStatus, error)
Expand Down