added more logging
This commit is contained in:
parent
d8c183df25
commit
5faa8d210d
@ -264,9 +264,11 @@ impl BrainData {
|
|||||||
contract.vcpus = updatevmreq.0.vcpus;
|
contract.vcpus = updatevmreq.0.vcpus;
|
||||||
contract.memory_mb = updatevmreq.0.memory_mb;
|
contract.memory_mb = updatevmreq.0.memory_mb;
|
||||||
if !updatevmreq.0.kernel_sha.is_empty() {
|
if !updatevmreq.0.kernel_sha.is_empty() {
|
||||||
|
info!("Updating kernel sha for {} to {}", contract.uuid, updatevmreq.0.kernel_sha);
|
||||||
contract.kernel_sha = updatevmreq.0.kernel_sha;
|
contract.kernel_sha = updatevmreq.0.kernel_sha;
|
||||||
}
|
}
|
||||||
if !updatevmreq.0.dtrfs_sha.is_empty() {
|
if !updatevmreq.0.dtrfs_sha.is_empty() {
|
||||||
|
info!("Updating dtrfs sha for {} to {}", contract.uuid, updatevmreq.0.dtrfs_sha);
|
||||||
contract.dtrfs_sha = updatevmreq.0.dtrfs_sha;
|
contract.dtrfs_sha = updatevmreq.0.dtrfs_sha;
|
||||||
}
|
}
|
||||||
contract.updated_at = Utc::now().to_rfc3339();
|
contract.updated_at = Utc::now().to_rfc3339();
|
||||||
|
Loading…
Reference in New Issue
Block a user