Skip to content

Commit

Permalink
remove url from Image view too
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpesp committed Dec 7, 2023
1 parent cf90d82 commit 2936101
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion nexus/db-model/src/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ impl From<Image> for views::Image {
Self {
identity: image.identity(),
project_id: image.project_id,
url: image.url,
os: image.os,
version: image.version,
digest: image.digest.map(|x| x.into()),
Expand Down
3 changes: 0 additions & 3 deletions nexus/types/src/external_api/views.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,6 @@ pub struct Image {
/// ID of the parent project if the image is a project image
pub project_id: Option<Uuid>,

/// URL source of this image, if any
pub url: Option<String>,

/// The family of the operating system like Debian, Ubuntu, etc.
pub os: String,

Expand Down
5 changes: 0 additions & 5 deletions openapi/nexus.json
Original file line number Diff line number Diff line change
Expand Up @@ -10905,11 +10905,6 @@
"type": "string",
"format": "date-time"
},
"url": {
"nullable": true,
"description": "URL source of this image, if any",
"type": "string"
},
"version": {
"description": "Version of the operating system",
"type": "string"
Expand Down

0 comments on commit 2936101

Please sign in to comment.