Skip to content

Commit 7e9f369

Browse files
committed
chore(controller): change resource unit to number
1 parent 3cfcf72 commit 7e9f369

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rootfs/api/models/resource.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def to_measurements(self, timestamp: float):
233233
"user_id": str(self.owner_id),
234234
"name": self.name,
235235
"type": self.plan,
236-
"unit": "UNIT",
236+
"unit": "number",
237237
"usage": 1,
238238
"timestamp": "%f" % timestamp
239239
}]

0 commit comments

Comments
 (0)