Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Commit

Permalink
fix: golint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Tiare Le Bigot committed Nov 28, 2015
1 parent e032fdc commit 8f2ec34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func missingEnvOrOption(setting, envVar, opt string) error {

// SetConfigFromFlags assigns and verifies the command-line arguments presented to the driver.
func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error {
d.AuthUrl = authUrl
d.AuthUrl = authURL
d.Username = flags.String("ovh-username")
d.Password = flags.String("ovh-password")
d.TenantId = flags.String("ovh-tenant-id")
Expand All @@ -88,7 +88,7 @@ func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error {
d.Region = flags.String("ovh-region")
d.FlavorName = flags.String("ovh-flavor")
d.ImageName = imageName
d.SSHUser = SSHUser
d.SSHUser = sshUser

d.IpVersion = 4
d.NetworkName = networkName
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
)

const (
authUrl = "https://auth.cloud.ovh.net/v2.0/"
authURL = "https://auth.cloud.ovh.net/v2.0/"
imageName = "Ubuntu 14.04"
SSHUser = "admin"
sshUser = "admin"
networkName = "Ext-Net"
defaultFlavorName = "vps-ssd-1"
defaultRegionName = "GRA1"
Expand Down

0 comments on commit 8f2ec34

Please sign in to comment.