Skip to content

Commit

Permalink
Merge pull request #71 from yunify/fix-instance-userdata-path
Browse files Browse the repository at this point in the history
Fix userdata_path. userdata_file default value error
  • Loading branch information
runzexia authored Dec 12, 2017
2 parents 1b61b40 + 42a4f4f commit c7fc8b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -623,8 +623,8 @@ type RunInstancesInput struct {
NeedUserdata *int `json:"need_userdata" name:"need_userdata" default:"0" location:"params"`
SecurityGroup *string `json:"security_group" name:"security_group" location:"params"`
UIType *string `json:"ui_type" name:"ui_type" location:"params"`
UserdataFile *string `json:"userdata_file" name:"userdata_file" default:"etc/rc.local" location:"params"`
UserdataPath *string `json:"userdata_path" name:"userdata_path" default:"etc/qingcloud/userdata" location:"params"`
UserdataFile *string `json:"userdata_file" name:"userdata_file" default:"/etc/rc.local" location:"params"`
UserdataPath *string `json:"userdata_path" name:"userdata_path" default:"/etc/qingcloud/userdata" location:"params"`
// UserdataType's available values: plain, exec, tar
UserdataType *string `json:"userdata_type" name:"userdata_type" location:"params"`
UserdataValue *string `json:"userdata_value" name:"userdata_value" location:"params"`
Expand Down

0 comments on commit c7fc8b6

Please sign in to comment.