Skip to content

Commit c112c8d

Browse files
author
Samuel Chong
committed
fix github build
1 parent 0cae29d commit c112c8d

File tree

2 files changed

+5
-39
lines changed

2 files changed

+5
-39
lines changed

.travis.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

main.go

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
package main
22

33
import (
4-
"fmt"
5-
"os"
6-
"path"
7-
84
"github.com/DimensionDataResearch/dd-cloud-compute-terraform/ddcloud"
95
"github.com/hashicorp/terraform-plugin-sdk/plugin"
106
)
117

128
// The main program entry-point.
139
func main() {
14-
if len(os.Args) == 2 && os.Args[1] == "--version" {
15-
fmt.Printf("%s %s\n\n", path.Base(os.Args[0]), ddcloud.ProviderVersion)
16-
17-
return
18-
}
10+
//if len(os.Args) == 2 && os.Args[1] == "--version" {
11+
// fmt.Printf("%s %s\n\n", path.Base(os.Args[0]), ddcloud.ProviderVersion)
12+
//
13+
// return
14+
//}
1915

2016
plugin.Serve(&plugin.ServeOpts{
2117
ProviderFunc: ddcloud.Provider,

0 commit comments

Comments
 (0)