Skip to content

Commit

Permalink
remove unneeded sled agent param
Browse files Browse the repository at this point in the history
  • Loading branch information
gjcolombo committed Dec 19, 2024
1 parent 4aac06a commit 7197618
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion nexus/src/app/sagas/instance_migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,6 @@ async fn sim_instance_migrate(
InstanceStateChangeRequest::Migrate(
InstanceMigrationTargetParams {
src_propolis_addr: src_vmm_addr.to_string(),
src_propolis_id,
},
),
)
Expand Down
8 changes: 1 addition & 7 deletions openapi/sled-agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -4004,16 +4004,10 @@
"src_propolis_addr": {
"description": "The address of the Propolis server that will serve as the migration source.",
"type": "string"
},
"src_propolis_id": {
"description": "The Propolis ID of the migration source.",
"type": "string",
"format": "uuid"
}
},
"required": [
"src_propolis_addr",
"src_propolis_id"
"src_propolis_addr"
]
},
"InstanceProperties": {
Expand Down
4 changes: 0 additions & 4 deletions sled-agent/types/src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,6 @@ pub struct VmmUnregisterResponse {
/// migration.
#[derive(Copy, Clone, Debug, Deserialize, Serialize, JsonSchema)]
pub struct InstanceMigrationTargetParams {
/// The Propolis ID of the migration source.
// TODO(gjc) try to get rid of this, migration targets don't use it anymore
pub src_propolis_id: Uuid,

/// The address of the Propolis server that will serve as the migration
/// source.
pub src_propolis_addr: SocketAddr,
Expand Down

0 comments on commit 7197618

Please sign in to comment.