Skip to content

Conversation

@Mryashbhardwaj
Copy link
Member

No description provided.


// constructMergeQueries constructs merge queries with headers and variables
func (b *Builder) constructMergeQuery(hrs, vars, queries []string) string {
func (b *Builder) constructMergeQuery(hrs, vars, queries []string, costAttributionTeam string) string {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to pass costAttributionTeam argument here, we can use var in builder object itself

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, nice idea, i have done the changes

Copy link
Member

@deryrahman deryrahman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just create one or more test case in builder_test.go

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.

3 participants