From 677cb52715cc533c1694694a35c7eba073697acf Mon Sep 17 00:00:00 2001 From: Flavio Meyer Date: Mon, 20 Jan 2020 14:36:25 +0100 Subject: [PATCH] Optimize file structure --- .travis.yml | 2 +- Gopkg.lock | 2 +- Gopkg.toml | 4 +--- clamrest.go | 2 +- eicar.com.txt | 2 +- entrypoint.sh | 2 +- 6 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6632b7a..aa33f66 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,4 @@ services: script: - docker build --no-cache -t niilo/clamav-rest . after_success: -- if [ "$TRAVIS_BRANCH" == "master" ]; then docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; docker push niilo/clamav-rest; fi +- if [ "$TRAVIS_BRANCH" == "master" ]; then docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; docker push niilo/clamav-rest; fi \ No newline at end of file diff --git a/Gopkg.lock b/Gopkg.lock index 65247a2..c73796a 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -4,4 +4,4 @@ memo = "6d565002a9a2af555327a35b973166b0b4d3cc082fa045bd3917e34205a70a05" branch = "master" name = "github.com/dutchcoders/go-clamd" packages = ["."] - revision = "b970184f4d9e88ff402581ec3dd3b9d074cfb90c" + revision = "b970184f4d9e88ff402581ec3dd3b9d074cfb90c" \ No newline at end of file diff --git a/Gopkg.toml b/Gopkg.toml index 9e2692e..10dfb76 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -49,8 +49,6 @@ ## what source location any dependent projects specify. # source = "https://github.com/myfork/package.git" - - [[dependencies]] branch = "master" - name = "github.com/dutchcoders/go-clamd" + name = "github.com/dutchcoders/go-clamd" \ No newline at end of file diff --git a/clamrest.go b/clamrest.go index bce1fd1..a58edc7 100644 --- a/clamrest.go +++ b/clamrest.go @@ -184,4 +184,4 @@ func main() { } fmt.Printf("Listening on port " + opts["PORT"]) http.ListenAndServe(":"+opts["PORT"], nil) -} +} \ No newline at end of file diff --git a/eicar.com.txt b/eicar.com.txt index 704cac8..a2463df 100644 --- a/eicar.com.txt +++ b/eicar.com.txt @@ -1 +1 @@ -X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* +X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh index 681673c..80b1f9c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -20,4 +20,4 @@ terminate() { trap terminate CHLD wait -exit $exitcode +exit $exitcode \ No newline at end of file