Skip to content

Commit

Permalink
Merge pull request #27928 from erikh/fix-docs
Browse files Browse the repository at this point in the history
api/types/client.go: documentation fix for ImageImportSource
  • Loading branch information
vdemeester authored Jan 12, 2017
2 parents bf71db7 + 6ab57aa commit 1d40e9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/types/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ type ImageCreateOptions struct {

// ImageImportSource holds source information for ImageImport
type ImageImportSource struct {
Source io.Reader // Source is the data to send to the server to create this image from (mutually exclusive with SourceName)
SourceName string // SourceName is the name of the image to pull (mutually exclusive with Source)
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.
SourceName string // SourceName is the name of the image to pull. Set to "-" to leverage the Source attribute.
}

// ImageImportOptions holds information to import images from the client host.
Expand Down

0 comments on commit 1d40e9c

Please sign in to comment.