mirror of https://github.com/dirtbags/moth.git
Log registration events, try to fix devel image
This commit is contained in:
parent
8af01ae6bf
commit
f558099852
|
@ -69,7 +69,7 @@ jobs:
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
builder: ${{ steps.buildx.outputs.name }}
|
builder: ${{ steps.buildx.outputs.name }}
|
||||||
target: moth
|
target: moth-devel
|
||||||
file: build/package/Containerfile
|
file: build/package/Containerfile
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
|
|
|
@ -169,6 +169,7 @@ func (mh *MothRequestHandler) Register(teamName string) error {
|
||||||
if teamName == "" {
|
if teamName == "" {
|
||||||
return fmt.Errorf("Empty team name")
|
return fmt.Errorf("Empty team name")
|
||||||
}
|
}
|
||||||
|
mh.State.LogEvent("register", mh.participantID, mh.teamID, "", 0)
|
||||||
return mh.State.SetTeamName(mh.teamID, teamName)
|
return mh.State.SetTeamName(mh.teamID, teamName)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue