timetable-extension #1

Open
fred.boniface wants to merge 160 commits from timetable-extension into main
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 5b1ab9b12f - Show all commits

View File

@ -3,7 +3,7 @@ WORKDIR /source
COPY . . COPY . .
RUN go build . RUN go build .
FROM scratch FROM alpine:latest
COPY --from=builder /source/timetable-mgr /bin/timetable-mgr COPY --from=builder /source/timetable-mgr /bin/timetable-mgr
USER 20400 USER 20400
CMD [ "/bin/timetable-mgr" ] CMD [ "/bin/timetable-mgr" ]

View File

@ -6,7 +6,7 @@ import (
// Version Constants // Version Constants
const versionNum string = "2024.04.0" const versionNum string = "2024.04.0"
const versionSuffix string = "rc2" const versionSuffix string = "beta2"
const Version string = versionNum + "-" + versionSuffix const Version string = versionNum + "-" + versionSuffix
// Environment Variables // Environment Variables

View File

@ -18,7 +18,7 @@ func handle(msg *stomp.Message) {
err, convertedType := convertCifType(schedule) err, convertedType := convertCifType(schedule)
if err != nil { if err != nil {
log.Error("Error converting VSTP to CIF", zap.Error(err)) log.Error("Error converting VSTP to CIF", zap.Error(err))
fmt.Println(msg.Body) fmt.Println(string(msg.Body))
return return
} }
err = processCifData(convertedType) err = processCifData(convertedType)