S_h_a_d_o_w_16

Results issues of S_h_a_d_o_w_16

day one of doing gophercises and getting more and more used to golang and enjoying the language

This PR fixes a file descriptor leak in the printOutput method in cmd/cli/kubectl-kyverno/processor/policy_processor.go. When os.OpenFile is called but a subsequent file.Write fails, the file descriptor was never closed, causing a...

size:XS
area/cli

### Current Behavior `generateErrorReferenceDetails` in `mesheryctl/internal/cli/pkg/api/meshery.go` builds a docs-reference link by splitting the error `code` on `-` and indexing directly into the result: ​go func generateErrorReferenceDetails(referenceCodeName, code string) string {...

kind/bug
component/mesheryctl
language/go

Please update the mesheryctl Command Tracker spreadsheet See [mesheryctl Command Tracker](https://bit.ly/3dqXy1q) for current status of commands. ### Current Behavior While going through `mesheryctl/pkg/utils/platform.go`, I found a panic waiting to happen...

kind/bug
component/mesheryctl
language/go

_See [mesheryctl Command Tracker](https://bit.ly/3dqXy1q) for current status of commands._ ### Current Behavior Two bugs affect `--save` behavior across `mesheryctl view` commands. --- **Bug 1 — `os.UserHomeDir()` called outside the `--save`...

kind/bug
component/mesheryctl
language/go

When the API server's HTTP listener fails to start, `startHTTPProxy` in `backend/src/apiserver/main.go` does not terminate the process with a failure status. The error is discarded (plain HTTP) or logged without...

kind/bug
area/backend

### What happened? When a SparkApplication is submitted again and its Volcano PodGroup already exists, `syncPodGroup` (internal/scheduler/volcano/scheduler.go) only reconciles `Spec.MinMember`. `MinResources` and `PriorityClassName` are set only when the PodGroup is...

kind/bug