Skip to content

Rename attributesMap.go to follow convention#1343

Closed
johananl wants to merge 1 commit intoopen-telemetry:masterfrom
kinvolk:johananl/rename-attributesmap
Closed

Rename attributesMap.go to follow convention#1343
johananl wants to merge 1 commit intoopen-telemetry:masterfrom
kinvolk:johananl/rename-attributesmap

Conversation

@johananl
Copy link
Copy Markdown
Contributor

@johananl johananl commented Nov 16, 2020

attributesMap.go uses camel case while we seem to be using snake case throughout the codebase.

Use attributesmap.go and not attributes_map.go following evictedqueue.go which seems similar to attributesMap.go in nature.

Fixes #1335.

attributesMap.go uses camel case while we seem to be using snake case
throughout the codebase.

Use attributesmap.go and not attributes_map.go following
evictedqueue.go which seems similar to attributesMap.go in nature.
@johananl
Copy link
Copy Markdown
Contributor Author

johananl commented Nov 16, 2020

I've added a changelog entry even though this seems like a trivial change to me that isn't very interesting to users who might read the changelog. Do we have any guidelines regarding what should go in the changelog?

EDIT: Looks like we use the Skip changelog label for trivial changes. I'll drop the changelog commit.

@johananl johananl force-pushed the johananl/rename-attributesmap branch from acf0efb to f472a4c Compare November 16, 2020 14:34
@MrAlias
Copy link
Copy Markdown
Contributor

MrAlias commented Nov 16, 2020

This is going to be a duplicate of #1337 which also adds some tests. I'm going to close this in favor of that PR.

Sorry about the confusion, I should have made things clearer and assigned #1335 to someone.

@MrAlias MrAlias closed this Nov 16, 2020
@johananl
Copy link
Copy Markdown
Contributor Author

Oops, thanks @MrAlias.

@johananl johananl deleted the johananl/rename-attributesmap branch November 16, 2020 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename attributesMap.go

2 participants