From d50e93bedc112d4d0d54efdd760bc4f8a34ec09b Mon Sep 17 00:00:00 2001 From: Shawn Neal Date: Mon, 3 Apr 2023 17:12:00 -0700 Subject: [PATCH] Add CPI to stemcells --- models.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/models.go b/models.go index 0bc9302..782aeda 100644 --- a/models.go +++ b/models.go @@ -24,6 +24,7 @@ type Stemcell struct { OperatingSystem string `json:"operating_system"` Version string `json:"version"` CID string `json:"cid"` + CPI string `json:"cpi"` Deployments []struct { Name string `json:"name"` } `json:"deployments"` @@ -35,7 +36,7 @@ type Release struct { ReleaseVersions []ReleaseVersion `json:"release_versions"` } -//ReleaseVersion struct +// ReleaseVersion struct type ReleaseVersion struct { Version string `json:"version"` CommitHash string `json:"commit_hash"`