Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
ciao-controller: BAT expects that workload storage is ephemeral
Browse files Browse the repository at this point in the history
Commit c389aed breaks the BAT.  This
fixes it.

Previously the workload storage csv had a persistent flag and it was set
to true.  My storage volumes extensions PR changed that to an ephemeral
flag set to false.  But prior to my PR, the user indicated flag was
actually ignored in getStorage().  I introduced code to honor it instead
of ignore and force in some cases persistence and in some ephemerality.
BAT broke because it expected the example workload volumes to be
ephemeral, despite not being flagged as such.

Signed-off-by: Tim Pepper <[email protected]>
  • Loading branch information
Tim Pepper committed Dec 15, 2016
1 parent 3079d77 commit 2e33e06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ciao-controller/tables/workload_storage.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
79034317-3beb-447e-987d-4e310a8cf410,"",1,0,0,"image",73a86d7e-93c0-480e-9c41-ab42f69b7799,""
e35ed972-c46c-4aad-a1e7-ef103ae079a2,"",1,0,0,"image",df3768da-31f5-4ba6-82f0-127a1a705169,""
eba04826-62a5-48bd-876f-9119667b1487,"",1,0,0,"image",4e16e743-265a-4bf2-9fd1-57ada0b28904,""
79034317-3beb-447e-987d-4e310a8cf410,"",1,1,0,"image",73a86d7e-93c0-480e-9c41-ab42f69b7799,""
e35ed972-c46c-4aad-a1e7-ef103ae079a2,"",1,1,0,"image",df3768da-31f5-4ba6-82f0-127a1a705169,""
eba04826-62a5-48bd-876f-9119667b1487,"",1,1,0,"image",4e16e743-265a-4bf2-9fd1-57ada0b28904,""
6 changes: 3 additions & 3 deletions testutil/singlevm/tables/workload_storage.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
79034317-3beb-447e-987d-4e310a8cf410,"",1,0,0,"image",73a86d7e-93c0-480e-9c41-ab42f69b7799,""
e35ed972-c46c-4aad-a1e7-ef103ae079a2,"",1,0,0,"image",df3768da-31f5-4ba6-82f0-127a1a705169,""
eba04826-62a5-48bd-876f-9119667b1487,"",1,0,0,"image",4e16e743-265a-4bf2-9fd1-57ada0b28904,""
79034317-3beb-447e-987d-4e310a8cf410,"",1,1,0,"image",73a86d7e-93c0-480e-9c41-ab42f69b7799,""
e35ed972-c46c-4aad-a1e7-ef103ae079a2,"",1,1,0,"image",df3768da-31f5-4ba6-82f0-127a1a705169,""
eba04826-62a5-48bd-876f-9119667b1487,"",1,1,0,"image",4e16e743-265a-4bf2-9fd1-57ada0b28904,""

0 comments on commit 2e33e06

Please sign in to comment.