Skip to content

Refactor & add tests for adoption_reconciler.go #939

@vijtrip2

Description

@vijtrip2
  • Add unit tests for the adoption_reconciler.go file
  • Refactor 'PatchMetadataAndSpec' , 'PatchStatus' method to be reusable between 'reconciler.go' & 'adoption_reconciler.go'
  • Refactor common code between 'reconciler.go' & 'adoption_reconciler.go' so that any bug fixes/improvements need not be duplicated in code.

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions