Skip to content

Commit

Permalink
add missing oneof change
Browse files Browse the repository at this point in the history
  • Loading branch information
greedy52 committed Apr 13, 2022
1 parent cef8dd0 commit 47c0cba
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions api/types/events/oneof.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,34 @@ func ToOneOf(in AuditEvent) (*OneOf, error) {
out.Event = &OneOf_MySQLStatementBulkExecute{
MySQLStatementBulkExecute: e,
}
case *MySQLInitDB:
out.Event = &OneOf_MySQLInitDB{
MySQLInitDB: e,
}
case *MySQLCreateDB:
out.Event = &OneOf_MySQLCreateDB{
MySQLCreateDB: e,
}
case *MySQLDropDB:
out.Event = &OneOf_MySQLDropDB{
MySQLDropDB: e,
}
case *MySQLShutDown:
out.Event = &OneOf_MySQLShutDown{
MySQLShutDown: e,
}
case *MySQLProcessKill:
out.Event = &OneOf_MySQLProcessKill{
MySQLProcessKill: e,
}
case *MySQLDebug:
out.Event = &OneOf_MySQLDebug{
MySQLDebug: e,
}
case *MySQLRefresh:
out.Event = &OneOf_MySQLRefresh{
MySQLRefresh: e,
}
case *RenewableCertificateGenerationMismatch:
out.Event = &OneOf_RenewableCertificateGenerationMismatch{
RenewableCertificateGenerationMismatch: e,
Expand Down

0 comments on commit 47c0cba

Please sign in to comment.