Skip to content

Commit

Permalink
merge and go mod tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
codyoss authored and yoshi-automation committed Jan 22, 2021
2 parents a8ff712 + 7c1b0c2 commit e783a54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bigtable/go.mod
Expand Up @@ -10,7 +10,7 @@ require (
github.com/googleapis/gax-go/v2 v2.0.5
golang.org/x/mod v0.4.1 // indirect
golang.org/x/oauth2 v0.0.0-20210113160501-8b1d76fa0423
golang.org/x/sys v0.0.0-20210122093101-04d7465088b8 // indirect
golang.org/x/sys v0.0.0-20210122093101-04d7465088b8
golang.org/x/tools v0.1.0 // indirect
google.golang.org/api v0.36.0
google.golang.org/genproto v0.0.0-20210121164019-fc48d45331c7
Expand Down
4 changes: 2 additions & 2 deletions bigtable/internal/cbtconfig/cbtconfig.go
Expand Up @@ -28,13 +28,13 @@ import (
"io/ioutil"
"log"
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
"time"

"golang.org/x/oauth2"
"golang.org/x/sys/execabs"
"google.golang.org/grpc/credentials"
)

Expand Down Expand Up @@ -211,7 +211,7 @@ func (g *GcloudCmdTokenSource) Token() (*oauth2.Token, error) {
// LoadGcloudConfig retrieves the gcloud configuration values we need use via the
// 'config-helper' command
func LoadGcloudConfig(gcloudCmd string, gcloudCmdArgs []string) (*GcloudConfig, error) {
out, err := exec.Command(gcloudCmd, gcloudCmdArgs...).Output()
out, err := execabs.Command(gcloudCmd, gcloudCmdArgs...).Output()
if err != nil {
return nil, fmt.Errorf("Could not retrieve gcloud configuration")
}
Expand Down

0 comments on commit e783a54

Please sign in to comment.