Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
remove dead code on image write
Browse files Browse the repository at this point in the history
  • Loading branch information
n0rad committed Nov 20, 2015
1 parent 391f15a commit 4916296
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions utils/image-manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,46 +7,6 @@ import (
"io/ioutil"
)

const IMAGE_MANIFEST = `{
"acKind": "ImageManifest",
"acVersion": "0.6.1",
"name": "xxx/xxx",
"labels": [
{
"name": "version",
"value": "0.0.0"
},
{
"name": "os",
"value": "linux"
},
{
"name": "arch",
"value": "amd64"
}
],
"app": {
"exec": [
"/bin/bash"
],
"user": "0",
"group": "0",
"environment": [
{
"name": "PATH",
"value": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
}
]
}
}
`

func BasicImageManifest() *schema.ImageManifest {
im := new(schema.ImageManifest)
im.UnmarshalJSON([]byte(IMAGE_MANIFEST))
return im
}

//
//func ReadManifest(path string) *schema.ImageManifest {
// im := new(schema.ImageManifest)
Expand Down

0 comments on commit 4916296

Please sign in to comment.