Skip to content

Conversation

@phaus
Copy link
Contributor

@phaus phaus commented Mar 21, 2022

should fix #335 335

@tomasbanet
Copy link

Hey. Any updates on this PR? Running into this issue while trying to use https://pkg.go.dev/cloud.google.com/[email protected]/httpreplay (issue at googleapis/google-cloud-go#6501). So far my work-around consists of changing the Init function to:

// Init runs common initialization code for a martian proxy.
func Init() {
	level := flag.Int("v", 0, "log level")
	flag.Parse()
	mlog.SetLevel(*level)
}

@chrisivens
Copy link

Does this really need to bump to golang v1.18? Can it perhaps only go as far as v1.17? Some packages aren't yet ported to 1.18 fully yet.

@bramhaghosh bramhaghosh merged commit 0f7e679 into google:master Aug 16, 2022
@thenakulchawla
Copy link

Since this change is merged, will a new tag get created so we can pull the right version in? Thanks.

hubot pushed a commit to google/skia-buildbot that referenced this pull request Apr 16, 2024
This fixed this: google/martian#336

Change-Id: I5d83628918e140ecf2136f289603371038ad5aa5
Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/841450
Commit-Queue: Hao Wu <[email protected]>
Reviewed-by: Leandro Lovisolo <[email protected]>
Commit-Queue: Leandro Lovisolo <[email protected]>
Auto-Submit: Hao Wu <[email protected]>
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.

removing flag parsing from module init

5 participants