Skip to content

Commit 6e33208

Browse files
committed
Remove SqlserviceAdminScope for proper run on Cloud Run
1 parent 4555df3 commit 6e33208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func main() {
3333
kingpin.MustParse(app.Parse(os.Args[1:]))
3434
app.Version("cloudsql-exporter " + version.BuildVersion)
3535

36-
hc, err := google.DefaultClient(ctx, sqladmin.SqlserviceAdminScope)
36+
hc, err := google.DefaultClient(ctx)
3737
if err != nil {
3838
log.Fatal(err)
3939
}

0 commit comments

Comments
 (0)