Skip to content

Commit

Permalink
Tolerate missing 'operation_uuid' field in spec file.
Browse files Browse the repository at this point in the history
'compute_ctl' doesn't use the operation_uuid for anything, it just prints
it to the log.
  • Loading branch information
hlinnaka committed Apr 10, 2023
1 parent 21de458 commit feb9c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compute_tools/src/compute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ impl ComputeNode {
info!(
"starting compute for project {}, operation {}, tenant {}, timeline {}",
spec.spec.cluster.cluster_id,
spec.spec.operation_uuid.as_ref().unwrap(),
spec.spec.operation_uuid.as_deref().unwrap_or("None"),
spec.tenant_id,
spec.timeline_id,
);
Expand Down

0 comments on commit feb9c1a

Please sign in to comment.