Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update sdk-go to v1.3.4 #48

Merged
merged 2 commits into from
Mar 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cmd/ecloud_vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ func ecloudVirtualMachineCreateCmd() *cobra.Command {
cmd.Flags().String("role", "", "Specifies role that VM should be created with")
cmd.Flags().String("bootstrap-script", "", "Specifies boot script that should be executed on first boot")
cmd.Flags().Bool("wait", false, "Specifies that the command should wait until the VM has been completely created before continuing on")
cmd.Flags().Int("pod", 0, "Pod ID for virtual machine")

return cmd
}
Expand All @@ -178,6 +179,7 @@ func ecloudVirtualMachineCreate(service ecloud.ECloudService, cmd *cobra.Command
createRequest.ExternalIPRequired, _ = cmd.Flags().GetBool("external-ip")
createRequest.Role, _ = cmd.Flags().GetString("role")
createRequest.BootstrapScript, _ = cmd.Flags().GetString("bootstrap-script")
createRequest.PodID, _ = cmd.Flags().GetInt("pod")

if cmd.Flags().Changed("tag") {
tagsFlag, _ := cmd.Flags().GetStringSlice("tag")
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require (
github.com/spf13/cobra v0.0.5
github.com/spf13/viper v1.3.2
github.com/stretchr/testify v1.3.0
github.com/ukfast/sdk-go v1.3.3
github.com/ukfast/sdk-go v1.3.4
gopkg.in/go-playground/assert.v1 v1.2.1
)

Expand Down
9 changes: 1 addition & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASu
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/guptarohit/asciigraph v0.4.1 h1:YHmCMN8VH81BIUIgTg2Fs3B52QDxNZw2RQ6j5pGoSxo=
github.com/guptarohit/asciigraph v0.4.1/go.mod h1:9fYEfE5IGJGxlP1B+w8wHFy7sNZMhPtn59f0RLtpRFM=
github.com/guptarohit/asciigraph v0.4.2-0.20191006150553-f9506970428c h1:lj/KuGMoYzVEYbzLoWLv7O4acsyH/K/qUxWbo/P70sU=
github.com/guptarohit/asciigraph v0.4.2-0.20191006150553-f9506970428c/go.mod h1:9fYEfE5IGJGxlP1B+w8wHFy7sNZMhPtn59f0RLtpRFM=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
Expand Down Expand Up @@ -93,13 +91,8 @@ github.com/tcnksm/go-gitconfig v0.1.2/go.mod h1:/8EhP4H7oJZdIPyT+/UIsG87kTzrzM4U
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
github.com/ukfast/go-durationstring v1.0.0 h1:kgPuA7XjLjgLDfkG8j0MpolxcZh/eMdiVoOIFD/uc5I=
github.com/ukfast/go-durationstring v1.0.0/go.mod h1:Ci81n51kfxlKUIaLY9cINIKRO94VTqV+iCGbOMTb0V8=
github.com/ukfast/sdk-go v1.3.1 h1:Kbwa1wBVn0s4PxnND4pJOGAzU3QSL+AYj2RXqbOxHWQ=
github.com/ukfast/sdk-go v1.3.1/go.mod h1:VHQi+BbNxVKPu131MHaMFe0UrMoFWbe4LjUqSCt64yg=
github.com/ukfast/sdk-go v1.3.2 h1:yEh2C+50dlmnYORmexccPhheblBoAGjHPebDVtESDgE=
github.com/ukfast/sdk-go v1.3.2/go.mod h1:VHQi+BbNxVKPu131MHaMFe0UrMoFWbe4LjUqSCt64yg=
github.com/ukfast/sdk-go v1.3.3 h1:6yqx4+pyK1cktQSg+q8BYB5QhKJZSLb4nyXwhp7jk7M=
github.com/ukfast/sdk-go v1.3.3/go.mod h1:VHQi+BbNxVKPu131MHaMFe0UrMoFWbe4LjUqSCt64yg=
github.com/ukfast/sdk-go v1.3.4 h1:3L+wBtJ4Gk0hie9BzWSeFhQ8cyCRJzwCHDVh88LSbRA=
github.com/ukfast/sdk-go v1.3.4/go.mod h1:VHQi+BbNxVKPu131MHaMFe0UrMoFWbe4LjUqSCt64yg=
github.com/ulikunitz/xz v0.5.5 h1:pFrO0lVpTBXLpYw+pnLj6TbvHuyjXMfjGeCwSqCVwok=
github.com/ulikunitz/xz v0.5.5/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8=
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=
Expand Down