Skip to content

Commit 8b398b5

Browse files
api: provide _VERSION module info
As a part of new module policy, each module must have version info stored in module._VERSION. For now, metrics._VERSION a duplicate of metrics.VERSION, but the latter is likely to be deprecated later.
1 parent b630939 commit 8b398b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

metrics/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,5 @@ return {
156156
http_middleware = require('metrics.http_middleware'),
157157
collect = collect,
158158
VERSION = VERSION,
159+
_VERSION = VERSION,
159160
}

0 commit comments

Comments
 (0)