Skip to content

Commit

Permalink
fix snapshot names
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandr Stefurishin <[email protected]>
  • Loading branch information
Alexandr Stefurishin committed Oct 5, 2024
1 parent cbbf365 commit 499a07f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func reconcileLLVCreateFunc(
if err = cl.Get(ctx, types.NamespacedName{Namespace: llv.Namespace, Name: llv.Spec.Source}, sourceLlv); err != nil {
log.Error(err, fmt.Sprintf("[reconcileLLVCreateFunc] unable to find source LogicalVolume %s (%s)", llv.Spec.Source, llv.Namespace))
} else {
cmd, err = utils.CreateThinLogicalVolumeSnapshot(string(llv.UID), lvg.Spec.ActualVGNameOnTheNode, sourceLlv)
cmd, err = utils.CreateThinLogicalVolumeSnapshot(llv.Spec.ActualLVNameOnTheNode, lvg.Spec.ActualVGNameOnTheNode, sourceLlv)
}
}
}
Expand Down

0 comments on commit 499a07f

Please sign in to comment.