Skip to content

Commit

Permalink
ref(boot): remove unused template and POD_IP references
Browse files Browse the repository at this point in the history
  • Loading branch information
kmala committed Oct 3, 2016
1 parent 13da3e2 commit 56e25fb
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions boot.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,28 +37,6 @@ type Secret struct {
}

const configdir = "/home/minio/.minio/"
const templv3 = `{
"version": "3",
"alias": {
"dl": "https://dl.minio.io",
"localhost": "http://localhost:9000",
"play": "https://play.minio.io:9000",
"s3": "https://s3.amazonaws.com"
},
"hosts": {
{{range .}}
"{{.Host}}": {
"access-key-id": "{{.KeyID}}" ,
"secret-access-key": "{{.AccessKey}}"
},
{{end}}
"127.0.0.1:*": {
"access-key-id": "",
"secret-access-key": ""
}
}
}
`

const templv2 = `{
"version": "2",
Expand Down Expand Up @@ -135,7 +113,6 @@ func main() {

secrets := []Secret{
{
Host: os.Getenv("POD_IP"),
KeyID: key,
AccessKey: access,
Region: "us-east-1",
Expand Down

0 comments on commit 56e25fb

Please sign in to comment.