Revert "fix(pkg/downloader): Remove comparing hashed digests on build cmd"

This reverts commit 0b9bffebf2.

Signed-off-by: Hang Park <hangpark@kaist.ac.kr>
pull/6655/head
Hang Park 6 years ago
parent 0139fe4dc6
commit 0c5308d185
No known key found for this signature in database
GPG Key ID: 35E3D27C832D49A2

@ -78,6 +78,11 @@ func (m *Manager) Build() error {
return m.Update()
}
req := c.Metadata.Dependencies
if sum, err := resolver.HashReq(req); err != nil || sum != lock.Digest {
return errors.New("Chart.lock is out of sync with Chart.yaml")
}
// Check that all of the repos we're dependent on actually exist.
if err := m.hasAllRepos(lock.Dependencies); err != nil {
return err

Loading…
Cancel
Save