Skip to content

Commit

Permalink
Merge pull request #9 from cloud-ca/devel
Browse files Browse the repository at this point in the history
v1.0.3
  • Loading branch information
pdube committed Aug 16, 2018
2 parents 221e0db + f0c9713 commit 87eb6af
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions cloudca.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"regexp"
"strconv"
"strings"
"time"

"github.com/cloud-ca/go-cloudca"
"github.com/cloud-ca/go-cloudca/api"
Expand Down Expand Up @@ -372,6 +373,11 @@ func (d *Driver) Create() error {
return err
}

// !! Workaround for MC-7982.
key = strings.TrimSpace(key)
key = fmt.Sprintf("%s %s-%d", key, d.MachineName, time.Now().Unix())
// !! End workaround for MC-7982.

instanceToCreate := cloudca.Instance{
Name: d.MachineName,
ComputeOfferingId: d.ComputeOfferingId,
Expand Down
6 changes: 3 additions & 3 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 87eb6af

Please sign in to comment.