Skip to content
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

refactor: fix inconsistent pointer receivers #2225

Merged
merged 2 commits into from
Jul 21, 2023
Merged

refactor: fix inconsistent pointer receivers #2225

merged 2 commits into from
Jul 21, 2023

Conversation

cgrinds
Copy link
Collaborator

@cgrinds cgrinds commented Jul 20, 2023

refactor: fix receive has generic name
refactor: Unquoted port mapping not recommended
refactor: delete redundant size hint
refactor: don't alias imported package name
refactor: Type assertion on errors fail on wrapped errors

refactor: fix receive has generic name
refactor: Unquoted port mapping not recommended
refactor: delete redundant size hint
refactor: don't alias imported package name
refactor: Type assertion on errors fail on wrapped errors
rahulguptajss
rahulguptajss previously approved these changes Jul 21, 2023
Hardikl
Hardikl previously approved these changes Jul 21, 2023
@@ -194,7 +194,7 @@ func (my *Qtree) Run(dataMap map[string]*matrix.Matrix) ([]*matrix.Matrix, error
return []*matrix.Matrix{qtreePluginData, my.data}, nil
}

func (my Qtree) handlingHistoricalMetrics(result []gjson.Result, data *matrix.Matrix, cluster string, quotaIndex *int, numMetrics *int) error {
func (my *Qtree) handlingHistoricalMetrics(result []gjson.Result, data *matrix.Matrix, cluster string, quotaIndex *int, numMetrics *int) error {
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: my to q ?

@@ -328,7 +328,7 @@ func (my Qtree) handlingHistoricalMetrics(quotas []*node.Node, data *matrix.Matr
return nil
}

func (my Qtree) handlingQuotaMetrics(quotas []*node.Node, cluster string, quotaIndex *int, numMetrics *int) error {
func (my *Qtree) handlingQuotaMetrics(quotas []*node.Node, cluster string, quotaIndex *int, numMetrics *int) error {
Copy link
Contributor

Choose a reason for hiding this comment

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

same here

@cgrinds cgrinds dismissed stale reviews from Hardikl and rahulguptajss via 77aa456 July 21, 2023 11:58
@cgrinds cgrinds merged commit 7716168 into main Jul 21, 2023
9 checks passed
@cgrinds cgrinds deleted the cbg-cleanup branch July 21, 2023 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants