Skip to content

Commit 56e25fb

Browse files
committed
ref(boot): remove unused template and POD_IP references
1 parent 13da3e2 commit 56e25fb

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

boot.go

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,6 @@ type Secret struct {
3737
}
3838

3939
const configdir = "/home/minio/.minio/"
40-
const templv3 = `{
41-
"version": "3",
42-
"alias": {
43-
"dl": "https://dl.minio.io",
44-
"localhost": "http://localhost:9000",
45-
"play": "https://play.minio.io:9000",
46-
"s3": "https://s3.amazonaws.com"
47-
},
48-
"hosts": {
49-
{{range .}}
50-
"{{.Host}}": {
51-
"access-key-id": "{{.KeyID}}" ,
52-
"secret-access-key": "{{.AccessKey}}"
53-
},
54-
{{end}}
55-
"127.0.0.1:*": {
56-
"access-key-id": "",
57-
"secret-access-key": ""
58-
}
59-
}
60-
}
61-
`
6240

6341
const templv2 = `{
6442
"version": "2",
@@ -135,7 +113,6 @@ func main() {
135113

136114
secrets := []Secret{
137115
{
138-
Host: os.Getenv("POD_IP"),
139116
KeyID: key,
140117
AccessKey: access,
141118
Region: "us-east-1",

0 commit comments

Comments
 (0)