We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4215d1e commit 23bd391Copy full SHA for 23bd391
1 file changed
libbeat/common/cfgwarn/cfgwarn.go
@@ -33,7 +33,8 @@ func Beta(format string, v ...interface{}) {
33
}
34
35
// Deprecate logs a deprecation message.
36
-// The version string contains the version when the future will be removed
+// The version string contains the version when the future will be removed.
37
+// If version is empty, the message will not mention the removal of the feature.
38
func Deprecate(version string, format string, v ...interface{}) {
39
var postfix string
40
if version != "" {
0 commit comments