Skip to content

Commit 23bd391

Browse files
committed
add comment
1 parent 4215d1e commit 23bd391

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

libbeat/common/cfgwarn/cfgwarn.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ func Beta(format string, v ...interface{}) {
3333
}
3434

3535
// Deprecate logs a deprecation message.
36-
// The version string contains the version when the future will be removed
36+
// 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.
3738
func Deprecate(version string, format string, v ...interface{}) {
3839
var postfix string
3940
if version != "" {

0 commit comments

Comments
 (0)