go-container: S3_PREFIX default=registry.kube5s.ru (без ENV)
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ func main() {
|
|||||||
hostname = "localhost:8080"
|
hostname = "localhost:8080"
|
||||||
}
|
}
|
||||||
if s3Prefix == "" {
|
if s3Prefix == "" {
|
||||||
s3Prefix = hostname
|
s3Prefix = "registry.kube5s.ru" // default S3 prefix (old Go hostname)
|
||||||
}
|
}
|
||||||
|
|
||||||
endpoint := os.Getenv("S3_ENDPOINT")
|
endpoint := os.Getenv("S3_ENDPOINT")
|
||||||
|
|||||||
Reference in New Issue
Block a user