[release] v0.5.12-unstable
This commit is contained in:
parent
ffddd9ef5f
commit
68e3220e71
|
@ -89,8 +89,8 @@ func Connect() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func RecreateContainer(containerID string, containerConfig types.ContainerJSON) (string, error) {
|
func RecreateContainer(containerID string, containerConfig types.ContainerJSON) (string, error) {
|
||||||
utils.log("RecreateContainer: " + containerID)
|
utils.Log("RecreateContainer: " + containerID)
|
||||||
utils.log("FROM: " + os.Getenv("HOSTNAME"))
|
utils.Log("FROM: " + os.Getenv("HOSTNAME"))
|
||||||
if os.Getenv("HOSTNAME") != "" && os.Getenv("HOSTNAME") == containerID[1:] {
|
if os.Getenv("HOSTNAME") != "" && os.Getenv("HOSTNAME") == containerID[1:] {
|
||||||
err := SelfRecreate()
|
err := SelfRecreate()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue