fmt
This commit is contained in:
parent
3cf4f57fe8
commit
08dbf4daf0
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue