Skip to content

Commit dd376b0

Browse files
committed
remove unneeded sled agent param
1 parent 13a6e71 commit dd376b0

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
@@ -3828,16 +3828,10 @@
38283828
"src_propolis_addr": {
38293829
"description": "The address of the Propolis server that will serve as the migration source.",
38303830
"type": "string"
3831-
},
3832-
"src_propolis_id": {
3833-
"description": "The Propolis ID of the migration source.",
3834-
"type": "string",
3835-
"format": "uuid"
38363831
}
38373832
},
38383833
"required": [
3839-
"src_propolis_addr",
3840-
"src_propolis_id"
3834+
"src_propolis_addr"
38413835
]
38423836
},
38433837
"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)