Commit 2a68c7c8 authored by Brad Davidson's avatar Brad Davidson Committed by Brad Davidson

Fix issue where addon checksum was never stored

parent 2e5c9e5c
......@@ -212,8 +212,9 @@ func (w *watcher) deploy(path string, compareChecksum bool) error {
return err
}
// Emit event, Update Addon checksum and modtime only if apply was successful
// Emit event, Update Addon checksum only if apply was successful
w.recorder.Eventf(&addon, corev1.EventTypeNormal, "AppliedManifest", "Applied manifest at %q", path)
addon.Spec.Checksum = checksum
_, err = w.addons.Update(&addon)
return err
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment