fix task3 backend

main
Nikita Tokarchuk 5 years ago
parent 4e0a675ee3
commit 5c9d4cd2d9
  1. 2
      deploy/task3/docker-compose.yml
  2. 1
      go.mod
  3. 2
      task3-backend/lib/server.go

@ -1,6 +1,6 @@
version: '3' version: '3'
services: services:
backend2: backend3:
build: build:
dockerfile: ./task3-backend/Dockerfile dockerfile: ./task3-backend/Dockerfile
context: ../.. context: ../..

@ -16,4 +16,5 @@ require (
github.com/sirupsen/logrus v1.4.2 github.com/sirupsen/logrus v1.4.2
github.com/spf13/viper v1.6.1 github.com/spf13/viper v1.6.1
github.com/valyala/fasthttp v1.7.1 github.com/valyala/fasthttp v1.7.1
golang.org/x/sys v0.0.0-20191010194322-b09406accb47
) )

@ -305,7 +305,7 @@ func (s *Server) createLetter() (letterPath string, localFullPath string, err er
return return
} }
_ = unix.Sync() unix.Sync()
return return
} }

Loading…
Cancel
Save