lundi 26 septembre 2016

golang viant dsunit testing config error

when trying to setup my Db using ds http://ift.tt/2cQfXnM I am using the following config

{
  "DatastoreConfigs": [
    {
      "Datastore": "db_test",
      "AdminDbName": "mysql",
      "ClearDatastore": true,
      "ConfigUrl": "test://config/dbconfig.json",
      "Descriptors": null
    },
    {
      "Datastore": "mysql",
      "ConfigUrl": "test://test/admin.json"
    }
  ]
}

And I get this error. Any idea what I am missing ?

 ~/Developer/go/gopath/src $ go test http://ift.tt/2cQfSk2  
# http://ift.tt/2dep0SV
http://ift.tt/2cQeYnF: dataStoreConfig.Descriptors[i].SchemaURL undefined (type dsc.TableDescriptor has no field or method SchemaURL, but does have SchemaUrl)
http://ift.tt/2cQeYnF: tableDescriptor.SchemaURL undefined (type dsc.TableDescriptor has no field or method SchemaURL, but does have SchemaUrl)
FAIL    http://ift.tt/2cQfSk2 [build failed]

Aucun commentaire:

Enregistrer un commentaire