wip(query): fixing platform.IDs

pull/10616/head
Leonardo Di Donato 2018-09-15 02:10:24 +02:00 committed by Chris Goller
parent 19e88d6202
commit 92ac07ab02
3 changed files with 3 additions and 4 deletions

4
Gopkg.lock generated
View File

@ -463,7 +463,7 @@
[[projects]]
branch = "feature/uint64-id"
digest = "1:47f350c2b0215da6710e69089bd58cd79b7c546b63c13b442c93ec2387f09ad7"
digest = "1:6b66bad00b1050beb748afcbaa1359d911f849c968c8e374a36458fa6566d010"
name = "github.com/influxdata/flux"
packages = [
".",
@ -488,7 +488,7 @@
"values",
]
pruneopts = "UT"
revision = "b8e66e868959a324b459979488efc1ec1a69500a"
revision = "c3c9318ad1930a194f317966cf7914319b828057"
[[projects]]
branch = "platform"

View File

@ -17,7 +17,6 @@ import (
"github.com/influxdata/platform/query"
_ "github.com/influxdata/platform/query/builtin"
"github.com/influxdata/platform/query/influxql"
"github.com/influxdata/platform/query/querytest"
platformtesting "github.com/influxdata/platform/testing"
"github.com/andreyvit/diff"

View File

@ -53,7 +53,7 @@ func TestPreAuthorizer_PreAuthorize(t *testing.T) {
// Try to authorize with a bucket service that knows about one bucket
// (still no authorization)
id, _ := platform.IDFromString("DEADBEEF")
id, _ := platform.IDFromString("deadbeefdeadbeef")
bucketService := newBucketServiceWithOneBucket(platform.Bucket{
Name: "my_bucket",
ID: *id,