Skip to content

Commit

Permalink
Merge pull request kubevirt#2917 from mhenriks/typos
Browse files Browse the repository at this point in the history
fix typos in virtctl image-upload command
  • Loading branch information
kubevirt-bot authored Dec 5, 2019
2 parents adc8e2c + ef5df8f commit 060d610
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/virtctl/imageupload/imageupload.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func init() {
func NewImageUploadCommand(clientConfig clientcmd.ClientConfig) *cobra.Command {
cmd := &cobra.Command{
Use: "image-upload",
Short: "Upload a VM image to a PersistentVolumeClaim.",
Short: "Upload a VM image to a DataVolume/PersistentVolumeClaim.",
Example: usage(),
Args: cobra.MaximumNArgs(2),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down Expand Up @@ -131,10 +131,10 @@ func usage() string {
usage := ` # Upload a local disk image to a newly created DataVolume:
{{ProgramName}} image-upload dv dv-name --size=10Gi --image-path=/images/fedora30.qcow2
# Upload a local disk image to an exististing DataVolume
# Upload a local disk image to an existing DataVolume
{{ProgramName}} image-upload dv dv-name --no-create --image-path=/images/fedora30.qcow2
# Upload a local disk image to an exististing PersistentVolumeClaim
# Upload a local disk image to an existing PersistentVolumeClaim
{{ProgramName}} image-upload pvc pvc-name --image-path=/images/fedora30.qcow2
# Upload to a DataVolume with explicit URL to CDI Upload Proxy
Expand Down

0 comments on commit 060d610

Please sign in to comment.