MCPcopy
hub / github.com/turbot/steampipe / ShowWarning

Function ShowWarning

pkg/error_helpers/utils.go:109–114  ·  view source on GitHub ↗
(warning string)

Source from the content-addressed store, hash-verified

107}
108
109func ShowWarning(warning string) {
110 if len(warning) == 0 {
111 return
112 }
113 fmt.Fprintf(color.Error, "%s: %v\n", pconstants.ColoredWarn, warning)
114}
115
116func CombineErrorsWithPrefix(prefix string, errors ...error) error {
117 if len(errors) == 0 {

Callers 15

runMethod · 0.92
executeQueriesFunction · 0.92
inspectQualifiedTableFunction · 0.92
inspectConnectionFunction · 0.92
logValidationResultFunction · 0.92
DisplayConfigFunction · 0.92
DisplayMessagesMethod · 0.92
killRunningDbInstanceFunction · 0.92
restoreDBBackupFunction · 0.92
trimBackupsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected