MCPcopy Create free account
hub / github.com/cortexproject/cortex / TenantIDsFromOrgID

Function TenantIDsFromOrgID

pkg/util/users/tenant.go:139–141  ·  view source on GitHub ↗

TenantIDsFromOrgID extracts different tenants from an orgID string value ignore stutter warning nolint:revive

(orgID string)

Source from the content-addressed store, hash-verified

137//
138//nolint:revive
139func TenantIDsFromOrgID(orgID string) ([]string, error) {
140 return TenantIDs(user.InjectOrgID(context.TODO(), orgID))
141}

Callers 1

enqueueRequestMethod · 0.92

Calls 1

TenantIDsFunction · 0.85

Tested by

no test coverage detected