Fix wrong checksum was assigned (#1968)

This commit is contained in:
Ta-Ching Chen
2021-03-29 16:20:21 +05:30
committed by GitHub
parent 1dce070245
commit 3e6dae9616
+1 -1
View File
@@ -160,7 +160,7 @@ func UpdatePackage(input cli.Input, client client.Interface, pkg *fv1.Package) (
} else if input.IsSet(flagkey.PkgDeployChecksum) {
pkg.Spec.Deployment.Checksum = fv1.Checksum{
Type: fv1.ChecksumTypeSHA256,
Sum: srcChecksum,
Sum: deployChecksum,
}
needToUpdate = true
}