Skip to content

Commit

Permalink
dd-tf-export v0.2-alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
tintoy committed Jul 22, 2016
1 parent 14adec3 commit 7e3c88d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ test: fmt
go test -v github.com/DimensionDataResearch/dd-tf-export

version:
echo "package main\n\n// ProgramVersion is the current version of the DD Cloud Compute terraform exporter.\nconst ProgramVersion = \"v0.1 (`git rev-parse HEAD`)\"" > ./version-info.go
echo "package main\n\n// ProgramVersion is the current version of the DD Cloud Compute terraform exporter.\nconst ProgramVersion = \"v0.2-alpha1 (`git rev-parse HEAD`)\"" > ./version-info.go
10 changes: 5 additions & 5 deletions export_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ func (exporter *Exporter) exportServer(server compute.Server, networkDomainID st

const configurationTemplateServerDisk = `
disk {
scsi_unit_id = %d
size_gb = %d
speed = "%s"
scsi_unit_id = %d
size_gb = %d
speed = "%s"
}`

func (exporter *Exporter) exportServerDisks(server compute.Server) (diskConfiguration string, err error) {
Expand All @@ -83,8 +83,8 @@ func (exporter *Exporter) exportServerDisks(server compute.Server) (diskConfigur

const configurationTemplateServerTag = `
tag {
name = "%s"
value = "%s"
name = "%s"
value = "%s"
}`

func (exporter *Exporter) exportServerTags(server compute.Server) (tagConfiguration string, err error) {
Expand Down

0 comments on commit 7e3c88d

Please sign in to comment.