mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Merge pull request #84664 from seans3/python-string-replace
Fixes error in go_pkg()
This commit is contained in:
commit
6c75316474
@ -41,7 +41,8 @@ def go_pkg(pkg):
|
||||
...
|
||||
)
|
||||
"""
|
||||
return go_prefix + "/" + pkg.replace("staging/src/", "vendor/", maxsplit = 1)
|
||||
count = 1
|
||||
return go_prefix + "/" + pkg.replace("staging/src/", "vendor/", count)
|
||||
|
||||
def openapi_deps():
|
||||
deps = [
|
||||
|
Loading…
Reference in New Issue
Block a user