diff --git a/Dockerfile b/Dockerfile index 9ce43ca..da62302 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,5 +5,4 @@ RUN go build . FROM scratch COPY --from=builder /source/timetable-mgr /bin/timetable-mgr -USER nobody CMD [ "/bin/timetable-mgr" ] \ No newline at end of file diff --git a/helpers/config.go b/helpers/config.go index 61ee5aa..c5053c2 100644 --- a/helpers/config.go +++ b/helpers/config.go @@ -6,7 +6,7 @@ import ( // Version Constants const versionNum string = "2024.04.0" -const versionSuffix string = "rc-1" +const versionSuffix string = "rc2" const Version string = versionNum + "-" + versionSuffix // Environment Variables diff --git a/main.go b/main.go index c654042..f2f09f7 100644 --- a/main.go +++ b/main.go @@ -31,7 +31,7 @@ func init() { printStartupBanner() fmt.Printf("%sVersion %s \n\n%s", bold+blue, helpers.Version, reset) - checkRunAsRoot() + //checkRunAsRoot() } func main() { diff --git a/nrod/streams.go b/nrod/streams.go index a7747e1..abeecab 100644 --- a/nrod/streams.go +++ b/nrod/streams.go @@ -30,7 +30,7 @@ func NrodStream(url string, cfg *helpers.Configuration) (io.ReadCloser, error) { resp, err := client.Do(req) if err != nil { - log.Error("Error carrying out HTTP Request", zap.Error(err), zap.Int("STATUS", resp.StatusCode)) + log.Error("Error carrying out HTTP Request", zap.Error(err)) return nil, err }