From f5580998529587dce461d70642f0a4855a93fa62 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Wed, 28 Oct 2020 14:16:13 -0600 Subject: [PATCH] Log registration events, try to fix devel image --- .github/workflows/build+test.yml | 2 +- cmd/mothd/server.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build+test.yml b/.github/workflows/build+test.yml index 8b8b032..a4636e8 100644 --- a/.github/workflows/build+test.yml +++ b/.github/workflows/build+test.yml @@ -69,7 +69,7 @@ jobs: uses: docker/build-push-action@v2 with: builder: ${{ steps.buildx.outputs.name }} - target: moth + target: moth-devel file: build/package/Containerfile push: true tags: | diff --git a/cmd/mothd/server.go b/cmd/mothd/server.go index 60aa8ae..8a2af52 100644 --- a/cmd/mothd/server.go +++ b/cmd/mothd/server.go @@ -169,6 +169,7 @@ func (mh *MothRequestHandler) Register(teamName string) error { if teamName == "" { return fmt.Errorf("Empty team name") } + mh.State.LogEvent("register", mh.participantID, mh.teamID, "", 0) return mh.State.SetTeamName(mh.teamID, teamName) }