Closed nxtcoder36 closed 1 week ago
This pull request focuses on error handling improvements and code cleanup in the k3s implementation. It also includes a minor change in the Runfile.yml to use a specific version tag.
classDiagram
class client {
+runScriptInContainer(script string) error
}
class fn {
+NewE(error, string) error
+Log(string, string)
}
class text {
+Yellow(string) string
+Blue(string) string
}
client --> fn : uses
client --> text : uses
note for client "Improved error handling and logging in runScriptInContainer method"
Change | Details | Files |
---|---|---|
Improved error handling and message consistency |
|
k3s/impl.go |
Refactored container output handling |
|
k3s/impl.go |
Updated image download tag in Runfile.yml |
|
k3s/k3s-base/Runfile.yml |
Summary by Sourcery
Handle errors consistently in the runScriptInContainer function by unifying error messages and simplifying the logging logic. Update the Runfile.yml to use a specific tag for image downloads.
Bug Fixes:
Enhancements:
Chores: