MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / formatCommunityScriptEnv

Function formatCommunityScriptEnv

internal/cli/community_scripts.go:478–489  ·  view source on GitHub ↗
(env []core.EnvOverride)

Source from the content-addressed store, hash-verified

476}
477
478func formatCommunityScriptEnv(env []core.EnvOverride) string {
479 if len(env) == 0 {
480 return ""
481 }
482
483 parts := make([]string, 0, len(env))
484 for _, override := range env {
485 parts = append(parts, override.Name+"="+override.Value)
486 }
487
488 return strings.Join(parts, ", ")
489}
490
491func detectCreatedGuests(before, after []*api.VM, nodeName string) []guestOutput {
492 beforeGuests := map[guestIdentity]struct{}{}

Callers 2

printInstallResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected