Skip to content

Commit e719915

Browse files
authored
fix: rename usage response vcpu reserved field to reserved_hours (#2056)
1 parent 086a3ef commit e719915

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

common/src/models/project.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ pub struct ProjectUsageBuild {
145145
#[cfg_attr(feature = "utoipa", derive(utoipa::ToSchema))]
146146
#[typeshare::typeshare]
147147
pub struct ProjectUsageVCPU {
148-
/// The VCPU reserved for this project
149-
pub reserved: f32,
148+
/// Used reserved VCPU hours for a project.
149+
pub reserved_hours: f32,
150150

151-
/// Cost accrued from VCPU usage for this project
151+
/// Used VCPU hours beyond the included reserved VCPU hours for a project.
152152
pub billable_hours: f32,
153153
}

common/types.ts

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)