changed logging slightly for clarity about when download attempts are being made
diff --git a/bundle.go b/bundle.go
index 44f9a9c..a1b23c2 100644
--- a/bundle.go
+++ b/bundle.go
@@ -34,11 +34,9 @@
func downloadBundle(dep DataDeployment) {
- log.Debugf("starting bundle download process for %s: %s", dep.ID, dep.BundleURI)
-
hashWriter, err := getHashWriter(dep.BundleChecksumType)
if err != nil {
- msg := fmt.Sprintf("invalid bundle checksum type: %v", dep.BundleChecksumType)
+ msg := fmt.Sprintf("invalid bundle checksum type: %s for deployment: %s", dep.BundleChecksumType, dep.ID)
log.Error(msg)
setDeploymentResults(apiDeploymentResults{
{
@@ -51,6 +49,8 @@
return
}
+ log.Debugf("starting bundle download process for %s: %s", dep.ID, dep.BundleURI)
+
retryIn := bundleRetryDelay
maxBackOff := 5 * time.Minute
backOffFunc := createBackoff(retryIn, maxBackOff)