use gcloud-golang vanity domain
This commit is contained in:
parent
e4fa9ea7ed
commit
38ab53a8ff
@ -20,7 +20,7 @@ import (
|
|||||||
"os/exec"
|
"os/exec"
|
||||||
"regexp"
|
"regexp"
|
||||||
|
|
||||||
"github.com/GoogleCloudPlatform/gcloud-golang/compute/metadata"
|
"google.golang.org/cloud/compute/metadata"
|
||||||
)
|
)
|
||||||
|
|
||||||
var zone = flag.String("zone", "us-central1-f", "Zone the instances are running in")
|
var zone = flag.String("zone", "us-central1-f", "Zone the instances are running in")
|
||||||
|
@ -17,8 +17,8 @@ package cloudinfo
|
|||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/GoogleCloudPlatform/gcloud-golang/compute/metadata"
|
|
||||||
info "github.com/google/cadvisor/info/v1"
|
info "github.com/google/cadvisor/info/v1"
|
||||||
|
"google.golang.org/cloud/compute/metadata"
|
||||||
)
|
)
|
||||||
|
|
||||||
func onGCE() bool {
|
func onGCE() bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user