MCPcopy
hub / github.com/crowdsecurity/crowdsec / UserMessage

Function UserMessage

cmd/crowdsec-cli/core/reload/reload.go:11–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9)
10
11func UserMessage() string {
12 if version.System == "docker" {
13 if isatty.IsTerminal(os.Stdout.Fd()) || isatty.IsCygwinTerminal(os.Stdout.Fd()) {
14 return "You may need to restart the container to apply the changes."
15 }
16
17 return ""
18 }
19
20 return message
21}

Callers 11

registerMethod · 0.92
installMethod · 0.92
upgradeMethod · 0.92
removeMethod · 0.92
NewCommandMethod · 0.92
registerMethod · 0.92
wizardMethod · 0.92
newInstallHubCmdMethod · 0.92
upgradeMethod · 0.92
newEnableCmdMethod · 0.92
newDisableCmdMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…