mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-04 09:46:40 +00:00
correct formated the file
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user