Skip to content

Commit

Permalink
Add CloudIdentityGroup mappers and fuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
gemmahou committed Feb 10, 2025
1 parent 4f00760 commit 92d0cc4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/controller/direct/cloudidentity/group_mapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ func CloudIdentityGroupStatus_ToProto(mapCtx *direct.MapContext, in *krm.CloudId
out.CreateTime = direct.StringTimestamp_ToProto(mapCtx, in.CreateTime)
out.Name = in.Name
out.UpdateTime = direct.StringTimestamp_ToProto(mapCtx, in.UpdateTime)
out.AdditionalGroupKeys = CloudIdentityGroupObservedState_ToProto(mapCtx, in.ObservedState).AdditionalGroupKeys
observedState := CloudIdentityGroupObservedState_ToProto(mapCtx, in.ObservedState)
if observedState != nil {
out.AdditionalGroupKeys = observedState.AdditionalGroupKeys
}
return out
}
func EntityKey_FromProto(mapCtx *direct.MapContext, in *pb.EntityKey) *krm.EntityKey {
Expand Down

0 comments on commit 92d0cc4

Please sign in to comment.