mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-16 15:32:19 +02:00
correct formated the file
This commit is contained in:
parent
181071e4f6
commit
87915f29f6
1 changed files with 4 additions and 4 deletions
|
@ -544,11 +544,11 @@ func stopContainers() error {
|
||||||
func restartContainer(container string) error {
|
func restartContainer(container string) error {
|
||||||
fmt.Println("Restarting containers...")
|
fmt.Println("Restarting containers...")
|
||||||
|
|
||||||
if err := executeDockerComposeCommandWithArgs("-f", "docker-compose.yml", "restart", container); err != nil {
|
if err := executeDockerComposeCommandWithArgs("-f", "docker-compose.yml", "restart", container); err != nil {
|
||||||
return fmt.Errorf("failed to stop the container \"%s\": %v", container, err)
|
return fmt.Errorf("failed to stop the container \"%s\": %v", container, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func copyFile(src, dst string) error {
|
func copyFile(src, dst string) error {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue