Skip to content

[refactor] The code related to CRI has a lot of redundancy #1524

@starnop

Description

@starnop

Ⅰ. Issue Description

For compatibility with the two versions of kubernetes CRI, we have maintained two pieces of code temporarily. Now it is time to optimize it. Actually, we have to maintain two pieces of code to some extent, but we can extract the common part to reduce redundancy. It is necessary even will take a lot of effort.

Ⅱ. Describe what happened

as above

Ⅲ. Describe what you expected to happen

reduce the code redundancy

Ⅳ. How to reproduce it (as minimally and precisely as possible)

None

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • pouch version (use pouch version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions