Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nlu90 committed Jun 24, 2024
1 parent 24bf63b commit 087c81e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkg/admin/dummy.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,41 +130,41 @@ func (d *DummyPulsarAdmin) CheckClusterExist(string) (bool, error) {
}

// DeletePulsarPackage is a fake implements of DeletePulsarPackage
func (d *DummyPulsarAdmin) DeletePulsarPackage(packageURL string) error {
func (d *DummyPulsarAdmin) DeletePulsarPackage(_ string) error {
return nil
}

// ApplyPulsarPackage is a fake implements of ApplyPulsarPackage
func (d *DummyPulsarAdmin) ApplyPulsarPackage(packageURL, filePath, description, contact string, properties map[string]string, changed bool) error {
func (d *DummyPulsarAdmin) ApplyPulsarPackage(_, _, _, _ string, _ map[string]string, _ bool) error {
return nil
}

// DeletePulsarFunction is a fake implements of DeletePulsarFunction
func (d *DummyPulsarAdmin) DeletePulsarFunction(tenant, namespace, name string) error {
func (d *DummyPulsarAdmin) DeletePulsarFunction(_, _, _ string) error {
return nil
}

// ApplyPulsarFunction is a fake implements of ApplyPulsarFunction
func (d *DummyPulsarAdmin) ApplyPulsarFunction(tenant, namespace, name, packageURL string, param *v1alpha1.PulsarFunctionSpec, changed bool) error {
func (d *DummyPulsarAdmin) ApplyPulsarFunction(_, _, _, _ string, _ *v1alpha1.PulsarFunctionSpec, _ bool) error {
return nil
}

// DeletePulsarSink is a fake implements of DeletePulsarSink
func (d *DummyPulsarAdmin) DeletePulsarSink(tenant, namespace, name string) error {
func (d *DummyPulsarAdmin) DeletePulsarSink(_, _, _ string) error {
return nil
}

// ApplyPulsarSink is a fake implements of ApplyPulsarSink
func (d *DummyPulsarAdmin) ApplyPulsarSink(tenant, namespace, name, packageURL string, param *v1alpha1.PulsarSinkSpec, changed bool) error {
func (d *DummyPulsarAdmin) ApplyPulsarSink(_, _, _, _ string, _ *v1alpha1.PulsarSinkSpec, _ bool) error {
return nil
}

// DeletePulsarSource is a fake implements of DeletePulsarSource
func (d *DummyPulsarAdmin) DeletePulsarSource(tenant, namespace, name string) error {
func (d *DummyPulsarAdmin) DeletePulsarSource(_, _, _ string) error {
return nil
}

// ApplyPulsarSource is a fake implements of ApplyPulsarSource
func (d *DummyPulsarAdmin) ApplyPulsarSource(tenant, namespace, name, packageURL string, param *v1alpha1.PulsarSourceSpec, changed bool) error {
func (d *DummyPulsarAdmin) ApplyPulsarSource(_, _, _, _ string, _ *v1alpha1.PulsarSourceSpec, _ bool) error {
return nil
}

0 comments on commit 087c81e

Please sign in to comment.