Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

fix(scim): use buildTwoPartID for data source IDs#59

Merged
vmvarela merged 1 commit intoenterprise-scimfrom
fix/53-scim-buildtwopartid
Mar 23, 2026
Merged

fix(scim): use buildTwoPartID for data source IDs#59
vmvarela merged 1 commit intoenterprise-scimfrom
fix/53-scim-buildtwopartid

Conversation

@vmvarela
Copy link
Copy Markdown
Owner

Summary

Closes #53

Replace fmt.Sprintf("%s/%s", ...) with buildTwoPartID() in both SCIM data sources, consistent with the project convention defined in AGENTS.md.

Changes

File Before After
data_source_github_enterprise_scim_user.go fmt.Sprintf("%s/%s", enterprise, scimUserID) buildTwoPartID(enterprise, scimUserID)
data_source_github_enterprise_scim_group.go fmt.Sprintf("%s/%s", enterprise, scimGroupID) buildTwoPartID(enterprise, scimGroupID)

Unused "fmt" import removed from both files.

Note

Separator changes from / to :. As these are data sources (no persistent state for the ID), the risk of state breakage is low.

Replace fmt.Sprintf("%s/%s", ...) with buildTwoPartID() in both SCIM
data sources, consistent with project convention. Separator changes
from '/' to ':'. Remove unused 'fmt' import from both files.

Closes #53
@vmvarela vmvarela added the type:chore Maintenance, refactoring, tooling label Mar 23, 2026
@github-actions github-actions Bot added type:feature New functionality type:bug Something isn't working labels Mar 23, 2026
@vmvarela vmvarela merged commit be76220 into enterprise-scim Mar 23, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

type:bug Something isn't working type:chore Maintenance, refactoring, tooling type:feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant