| ... | ... |
@@ -193,7 +193,7 @@ func TestDiff(t *testing.T) {
|
| 193 | 193 |
if err != nil {
|
| 194 | 194 |
t.Error(err) |
| 195 | 195 |
} |
| 196 |
- img, err := runtime.graph.Create(rwTar, container1, "unit test commited image - diff", "") |
|
| 196 |
+ img, err := runtime.graph.Create(rwTar, container1, "unit test commited image - diff", "", nil) |
|
| 197 | 197 |
if err != nil {
|
| 198 | 198 |
t.Error(err) |
| 199 | 199 |
} |
| ... | ... |
@@ -258,7 +258,7 @@ func TestCommitRun(t *testing.T) {
|
| 258 | 258 |
if err != nil {
|
| 259 | 259 |
t.Error(err) |
| 260 | 260 |
} |
| 261 |
- img, err := runtime.graph.Create(rwTar, container1, "unit test commited image", "") |
|
| 261 |
+ img, err := runtime.graph.Create(rwTar, container1, "unit test commited image", "", nil) |
|
| 262 | 262 |
if err != nil {
|
| 263 | 263 |
t.Error(err) |
| 264 | 264 |
} |
| ... | ... |
@@ -62,7 +62,7 @@ func TestGraphCreate(t *testing.T) {
|
| 62 | 62 |
if err != nil {
|
| 63 | 63 |
t.Fatal(err) |
| 64 | 64 |
} |
| 65 |
- image, err := graph.Create(archive, nil, "Testing", "") |
|
| 65 |
+ image, err := graph.Create(archive, nil, "Testing", "", nil) |
|
| 66 | 66 |
if err != nil {
|
| 67 | 67 |
t.Fatal(err) |
| 68 | 68 |
} |
| ... | ... |
@@ -122,7 +122,7 @@ func TestMount(t *testing.T) {
|
| 122 | 122 |
if err != nil {
|
| 123 | 123 |
t.Fatal(err) |
| 124 | 124 |
} |
| 125 |
- image, err := graph.Create(archive, nil, "Testing", "") |
|
| 125 |
+ image, err := graph.Create(archive, nil, "Testing", "", nil) |
|
| 126 | 126 |
if err != nil {
|
| 127 | 127 |
t.Fatal(err) |
| 128 | 128 |
} |
| ... | ... |
@@ -166,7 +166,7 @@ func createTestImage(graph *Graph, t *testing.T) *Image {
|
| 166 | 166 |
if err != nil {
|
| 167 | 167 |
t.Fatal(err) |
| 168 | 168 |
} |
| 169 |
- img, err := graph.Create(archive, nil, "Test image", "") |
|
| 169 |
+ img, err := graph.Create(archive, nil, "Test image", "", nil) |
|
| 170 | 170 |
if err != nil {
|
| 171 | 171 |
t.Fatal(err) |
| 172 | 172 |
} |
| ... | ... |
@@ -181,7 +181,7 @@ func TestDelete(t *testing.T) {
|
| 181 | 181 |
t.Fatal(err) |
| 182 | 182 |
} |
| 183 | 183 |
assertNImages(graph, t, 0) |
| 184 |
- img, err := graph.Create(archive, nil, "Bla bla", "") |
|
| 184 |
+ img, err := graph.Create(archive, nil, "Bla bla", "", nil) |
|
| 185 | 185 |
if err != nil {
|
| 186 | 186 |
t.Fatal(err) |
| 187 | 187 |
} |
| ... | ... |
@@ -192,11 +192,11 @@ func TestDelete(t *testing.T) {
|
| 192 | 192 |
assertNImages(graph, t, 0) |
| 193 | 193 |
|
| 194 | 194 |
// Test 2 create (same name) / 1 delete |
| 195 |
- img1, err := graph.Create(archive, nil, "Testing", "") |
|
| 195 |
+ img1, err := graph.Create(archive, nil, "Testing", "", nil) |
|
| 196 | 196 |
if err != nil {
|
| 197 | 197 |
t.Fatal(err) |
| 198 | 198 |
} |
| 199 |
- if _, err = graph.Create(archive, nil, "Testing", ""); err != nil {
|
|
| 199 |
+ if _, err = graph.Create(archive, nil, "Testing", "", nil); err != nil {
|
|
| 200 | 200 |
t.Fatal(err) |
| 201 | 201 |
} |
| 202 | 202 |
assertNImages(graph, t, 2) |