Log registration events, try to fix devel image

This commit is contained in:
Neale Pickett 2020-10-28 14:16:13 -06:00
parent 8af01ae6bf
commit f558099852
2 changed files with 2 additions and 1 deletions

View File

@ -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: |

View File

@ -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)
}