Skip to content

Commit

Permalink
refactor(detector-alibaba): fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
david-luna committed Jul 12, 2024
1 parent 3389dcc commit 0fd9ba3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import {
DetectorSync,
IResource,
Resource,
ResourceAttributes,
ResourceDetectionConfig,
Expand Down Expand Up @@ -58,7 +59,7 @@ class AlibabaCloudEcsDetector implements DetectorSync {
*
* @param config (unused) The resource detection config
*/
detect(_config?: ResourceDetectionConfig): Resource {
detect(_config?: ResourceDetectionConfig): IResource {
return new Resource({}, this._getAttributes());
}

Expand Down

0 comments on commit 0fd9ba3

Please sign in to comment.