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

Upgrade to go1.19 all workflows except testing on go1.18 #5877

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

bogdandrutu
Copy link
Member

Signed-off-by: Bogdan [email protected]

@bogdandrutu bogdandrutu marked this pull request as ready for review August 9, 2022 19:20
@bogdandrutu bogdandrutu requested review from a team and dmitryax August 9, 2022 19:20
@bogdandrutu bogdandrutu force-pushed the upgradetogolang1.19 branch from c148d4e to 470651a Compare August 9, 2022 19:25
@bogdandrutu bogdandrutu added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Aug 9, 2022
@codecov
Copy link

codecov bot commented Aug 9, 2022

Codecov Report

Merging #5877 (470651a) into main (b3539e8) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #5877   +/-   ##
=======================================
  Coverage   91.69%   91.69%           
=======================================
  Files         195      195           
  Lines       11931    11931           
=======================================
  Hits        10940    10940           
  Misses        781      781           
  Partials      210      210           
Impacted Files Coverage Δ
confmap/confmaptest/configtest.go 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -28,7 +28,7 @@ import (
// LoadConf loads a confmap.Conf from file, and does NOT validate the configuration.
func LoadConf(fileName string) (*confmap.Conf, error) {
// Clean the path before using it.
content, err := ioutil.ReadFile(filepath.Clean(fileName))
content, err := os.ReadFile(filepath.Clean(fileName))
Copy link
Member Author

Choose a reason for hiding this comment

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

I had to do only a small change here.

Copy link
Contributor

Choose a reason for hiding this comment

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

i'm surprised this was the only use of ioutil that needed to be changed.

@bogdandrutu bogdandrutu merged commit 45e5dda into open-telemetry:main Aug 9, 2022
@bogdandrutu bogdandrutu deleted the upgradetogolang1.19 branch August 9, 2022 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants