mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 23:04:52 +09:00
Fix onMetrics using the wrong iteration type
This commit is contained in:
1 parent
ee9c200ebf
commit
b9c3458cc2
3 files changed
+3
-3
No files matched your search
@@ -123,7 +123,7 @@ export default class BaseControllerPlugin {
|
||||
*
|
||||
* @returns an async iterator of prometheus metric results or undefined.
|
||||
*/
|
||||
async onMetrics(): Promise<void | AsyncIterator<CollectorResult>> { }
|
||||
async onMetrics(): Promise<void | AsyncIterable<CollectorResult>> { }
|
||||
|
||||
/**
|
||||
* Called when the controller is shutting down
|
||||
|
||||
Reference in new issue
Block a user