We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71eafe8 commit 3b9cb61Copy full SHA for 3b9cb61
1 file changed
dstack-util/src/system_setup.rs
@@ -1288,6 +1288,12 @@ impl<'a> Stage0<'a> {
1288
if instance_info.app_id.is_empty() {
1289
instance_info.app_id = truncated_compose_hash.to_vec();
1290
}
1291
+ if instance_info.app_id.len() != 20 {
1292
+ bail!(
1293
+ "Invalid app id length: expected 20 bytes, got {}",
1294
+ instance_info.app_id.len()
1295
+ );
1296
+ }
1297
1298
let disk_reusable = !key_provider.is_none();
1299
if (!disk_reusable) || instance_info.instance_id_seed.is_empty() {
0 commit comments