If a user creates a compose with a size of 0, the default image size for the image type should be used. Also, certain image types have requirements for the image size. In order to ensure that the proper image size is stored in the compose object, the compose's ImageBuild object uses ImageType.Size() to get the correct image size for the image type. |
||
|---|---|---|
| .. | ||
| store.go | ||
| store_test.go | ||