-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete unused organization related entries from internal map #1695
Conversation
@@ -846,6 +846,21 @@ func RemoveAPICacheForEnv(adapterInternalAPI model.AdapterInternalAPI, envType s | |||
} | |||
} | |||
|
|||
// RemoveAPIFromOrgAPIMap removes api from orgAPI map | |||
func RemoveAPIFromOrgAPIMap(adapterInternalAPI model.AdapterInternalAPI, orgId string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you just use the uuid from the adapterInternalAPI right? why not directly send it here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified the code
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #1695 +/- ##
==========================================
- Coverage 25.48% 25.46% -0.03%
==========================================
Files 262 131 -131
Lines 30288 15153 -15135
Branches 5116 2558 -2558
==========================================
- Hits 7718 3858 -3860
+ Misses 22308 11164 -11144
+ Partials 262 131 -131
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Purpose