Skip to content

Commit 17e1ac0

Browse files
committed
remove unneeded sled agent param
1 parent 7f794e0 commit 17e1ac0

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

nexus/src/app/sagas/instance_migrate.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,6 @@ async fn sim_instance_migrate(
539539
InstanceStateChangeRequest::Migrate(
540540
InstanceMigrationTargetParams {
541541
src_propolis_addr: src_vmm_addr.to_string(),
542-
src_propolis_id,
543542
},
544543
),
545544
)

openapi/sled-agent.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4004,16 +4004,10 @@
40044004
"src_propolis_addr": {
40054005
"description": "The address of the Propolis server that will serve as the migration source.",
40064006
"type": "string"
4007-
},
4008-
"src_propolis_id": {
4009-
"description": "The Propolis ID of the migration source.",
4010-
"type": "string",
4011-
"format": "uuid"
40124007
}
40134008
},
40144009
"required": [
4015-
"src_propolis_addr",
4016-
"src_propolis_id"
4010+
"src_propolis_addr"
40174011
]
40184012
},
40194013
"InstanceProperties": {

sled-agent/types/src/instance.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,6 @@ pub struct VmmUnregisterResponse {
184184
/// migration.
185185
#[derive(Copy, Clone, Debug, Deserialize, Serialize, JsonSchema)]
186186
pub struct InstanceMigrationTargetParams {
187-
/// The Propolis ID of the migration source.
188-
// TODO(gjc) try to get rid of this, migration targets don't use it anymore
189-
pub src_propolis_id: Uuid,
190-
191187
/// The address of the Propolis server that will serve as the migration
192188
/// source.
193189
pub src_propolis_addr: SocketAddr,

0 commit comments

Comments
 (0)