This commit is contained in:
Mitchell Hashimoto 2014-08-30 17:02:11 -07:00
parent 3cf4f57fe8
commit 08dbf4daf0
2 changed files with 4 additions and 4 deletions

View File

@ -3,8 +3,8 @@ package heroku
import ( import (
"fmt" "fmt"
"log" "log"
"sync"
"strings" "strings"
"sync"
"github.com/cyberdelia/heroku-go/v3" "github.com/cyberdelia/heroku-go/v3"
"github.com/hashicorp/terraform/helper/schema" "github.com/hashicorp/terraform/helper/schema"

View File

@ -31,9 +31,9 @@ func Serve(svc interface{}) error {
// First check the cookie // First check the cookie
if os.Getenv(MagicCookieKey) != MagicCookieValue { if os.Getenv(MagicCookieKey) != MagicCookieValue {
fmt.Fprintf(os.Stderr, fmt.Fprintf(os.Stderr,
"This binary is a Terraform plugin. These are not meant to be\n" + "This binary is a Terraform plugin. These are not meant to be\n"+
"executed directly. Please execute `terraform`, which will load\n" + "executed directly. Please execute `terraform`, which will load\n"+
"any plugins automatically.\n") "any plugins automatically.\n")
os.Exit(1) os.Exit(1)
} }