Fix wrong checksum was assigned (#1968)
This commit is contained in:
@@ -160,7 +160,7 @@ func UpdatePackage(input cli.Input, client client.Interface, pkg *fv1.Package) (
|
|||||||
} else if input.IsSet(flagkey.PkgDeployChecksum) {
|
} else if input.IsSet(flagkey.PkgDeployChecksum) {
|
||||||
pkg.Spec.Deployment.Checksum = fv1.Checksum{
|
pkg.Spec.Deployment.Checksum = fv1.Checksum{
|
||||||
Type: fv1.ChecksumTypeSHA256,
|
Type: fv1.ChecksumTypeSHA256,
|
||||||
Sum: srcChecksum,
|
Sum: deployChecksum,
|
||||||
}
|
}
|
||||||
needToUpdate = true
|
needToUpdate = true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user