Skip to content

Commit

Permalink
fix github build
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Chong committed Nov 10, 2020
1 parent 0cae29d commit c112c8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 39 deletions.
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

14 changes: 5 additions & 9 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
package main

import (
"fmt"
"os"
"path"

"github.com/DimensionDataResearch/dd-cloud-compute-terraform/ddcloud"
"github.com/hashicorp/terraform-plugin-sdk/plugin"
)

// The main program entry-point.
func main() {
if len(os.Args) == 2 && os.Args[1] == "--version" {
fmt.Printf("%s %s\n\n", path.Base(os.Args[0]), ddcloud.ProviderVersion)

return
}
//if len(os.Args) == 2 && os.Args[1] == "--version" {
// fmt.Printf("%s %s\n\n", path.Base(os.Args[0]), ddcloud.ProviderVersion)
//
// return
//}

plugin.Serve(&plugin.ServeOpts{
ProviderFunc: ddcloud.Provider,
Expand Down

0 comments on commit c112c8d

Please sign in to comment.