api/types/client.go: documentation fix for ImageImportSource
| ... | ... |
@@ -192,8 +192,8 @@ type ImageCreateOptions struct {
|
| 192 | 192 |
|
| 193 | 193 |
// ImageImportSource holds source information for ImageImport |
| 194 | 194 |
type ImageImportSource struct {
|
| 195 |
- Source io.Reader // Source is the data to send to the server to create this image from (mutually exclusive with SourceName) |
|
| 196 |
- SourceName string // SourceName is the name of the image to pull (mutually exclusive with Source) |
|
| 195 |
+ Source io.Reader // Source is the data to send to the server to create this image from. You must set SourceName to "-" to leverage this. |
|
| 196 |
+ SourceName string // SourceName is the name of the image to pull. Set to "-" to leverage the Source attribute. |
|
| 197 | 197 |
} |
| 198 | 198 |
|
| 199 | 199 |
// ImageImportOptions holds information to import images from the client host. |