mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
refactor(terraform): drop explanatory comments from team_member_add
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
5645e17b4f
commit
0746cdbf2c
1 changed files with 0 additions and 2 deletions
|
|
@ -95,7 +95,6 @@ func applyLimits(d *schema.ResourceData, payload map[string]interface{}) {
|
|||
}
|
||||
}
|
||||
|
||||
// /team/member_update is a merge-patch, so a removed setting is cleared with an explicit null
|
||||
func applyUpdateSettings(d *schema.ResourceData, payload map[string]interface{}) {
|
||||
applyAddOnlySettings(d, payload)
|
||||
applyLimits(d, payload)
|
||||
|
|
@ -191,7 +190,6 @@ func resourceLiteLLMTeamMemberAddCreate(d *schema.ResourceData, m interface{}) e
|
|||
return err
|
||||
}
|
||||
|
||||
// ID is set before the limits call so a failure there taints the resource instead of orphaning the memberships
|
||||
d.SetId(teamID)
|
||||
|
||||
if err := setMemberLimits(client, d, teamID, membersList); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue