mirror of
https://github.com/amineo/t2-stat-parser.git
synced 2026-01-19 17:34:43 +00:00
Update ftp parser paths
This commit is contained in:
parent
a14fec7355
commit
9222b8f0d6
|
|
@ -29,7 +29,10 @@ func initFTP() {
|
|||
|
||||
fmt.Println("Downloading stat files from", ftpHOST)
|
||||
|
||||
err, out, errout := Shellout("wget --recursive -nH --cut-dirs=4 --user=" + ftpUSER + " --no-parent --password=" + ftpPW + " -P /app/serverStats/stats/ ftp://" + ftpHOST + "/" + ftpHOST + "_port_28000/classic/serverStats/stats/")
|
||||
err, out, errout := Shellout("wget --recursive -nH --cut-dirs=4 --user=" + ftpUSER + " --no-parent --password=" + ftpPW + " -P /app/serverStats/stats/ ftp://" + ftpHOST + "/" + ftpHOST + "Tribes2/GameData/Classic/serverStats/stats/")
|
||||
|
||||
|
||||
|
||||
if err != nil {
|
||||
log.Printf("error: %v\n", err)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ services:
|
|||
constraints: [node.role == manager]
|
||||
|
||||
parser:
|
||||
image: "amineo/t2-stats-parser:v0.3.0"
|
||||
image: "amineo/t2-stats-parser:v0.4.0"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./build/go-t2-stat-parser/Dockerfile
|
||||
|
|
|
|||
Loading…
Reference in a new issue