kubesphere / ksbuilder

A CLI tool helps you to manage the development of kubesphere extensions
MIT License
10 stars 19 forks source link

parser: fix the problem that tar content is not completely read #85

Closed iawia002 closed 4 months ago

iawia002 commented 4 months ago

fix #84

The comment in https://github.com/kubesphere/ksbuilder/issues/84#issue-2164752099 is right, the tar content may not be fully read in the validate cmd.

ref: https://github.com/kubesphere/ksbuilder/blob/89a3e5a4fe0b8825242ba954e0f5efa472466538/pkg/utils/utils.go#L32-L35

/cc @stoneshi-yunify