Add CLONE_ prefix to the env var

This commit is contained in:
Sergey Dudoladov 2018-03-01 11:19:15 +01:00
parent bcb8caeddf
commit 35104cb72b
1 changed files with 1 additions and 1 deletions

View File

@ -773,7 +773,7 @@ func (c *Cluster) generateCloneEnvironment(description *spec.CloneDescription) [
result = append(result, v1.EnvVar{Name: "CLONE_WAL_S3_BUCKET", Value: c.OpConfig.WALES3Bucket})
result = append(result, v1.EnvVar{Name: "CLONE_TARGET_TIME", Value: description.EndTimestamp})
result = append(result, v1.EnvVar{Name: "CLONE_WAL_BUCKET_SCOPE_SUFFIX", Value: getWALBucketScopeSuffix(description.Uid)})
result = append(result, v1.EnvVar{Name: "WAL_BUCKET_SCOPE_PREFIX", Value: ""})
result = append(result, v1.EnvVar{Name: "CLONE_WAL_BUCKET_SCOPE_PREFIX", Value: ""})
}
return result