kubeedge / keink

KubeEdge In Kind, easily spin up a KubeEdge cluster in just one machine.
Apache License 2.0
10 stars 13 forks source link

Structure Improvements in main file /kind cleanup #10

Open vishalrajofficial opened 1 year ago

vishalrajofficial commented 1 year ago

What type of PR is this? /kind cleanup

What this PR does / why we need it:

Added clarifying comments to explain the purpose of certain sections of code. Changed the variable name from err to execErr in the logError function to avoid confusion between the err parameter and the error returned by exec.RunErrorForError. Minor formatting adjustments for consistency. The changes are mostly focused on improving readability and understanding. Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?: NONE

The changes are mostly focused on improving readability and understanding.