Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Rke
Commits
8008c36a
Unverified
Commit
8008c36a
authored
3 years ago
by
Kinara Shah
Committed by
GitHub
3 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #2897 from kinarashah/rel123
parents
50fb49ba
6ca32ea6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
codegen/codegen.go
+2
-2
codegen/codegen.go
with
2 additions
and
2 deletions
+2
-2
codegen/codegen.go
+
2
-
2
View file @
8008c36a
...
...
@@ -10,11 +10,11 @@ import (
)
const
(
defaultURL
=
"https://releases.rancher.com/kontainer-driver-metadata/
dev
-v2.6/data.json"
defaultURL
=
"https://releases.rancher.com/kontainer-driver-metadata/
release
-v2.6/data.json"
dataFile
=
"data/data.json"
)
// Codegen fetch data.json from https://releases.rancher.com/kontainer-driver-metadata/
dev
-v2.6/data.json and generates bindata
// Codegen fetch data.json from https://releases.rancher.com/kontainer-driver-metadata/
release
-v2.6/data.json and generates bindata
func
main
()
{
u
:=
os
.
Getenv
(
metadata
.
RancherMetadataURLEnv
)
if
u
==
""
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help