Change default organization name to Default

pull/10616/head
Michael Desa 2017-11-02 18:45:13 -04:00
parent 28211fabec
commit 999f6c6a24
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ var OrganizationsBucket = []byte("OrganizationsV1")
// DefaultOrganizationID is the ID of the default organization.
const DefaultOrganizationID uint64 = 0
const DefaultOrganizationName string = "__default"
const DefaultOrganizationName string = "Default"
const DefaultOrganizationRole string = "member"
// OrganizationsStore uses bolt to store and retrieve Organizations

View File

@ -184,8 +184,8 @@ func TestOrganizationsStore_All(t *testing.T) {
},
want: []chronograf.Organization{
{
Name: "__default",
DefaultRole: "member",
Name: bolt.DefaultOrganizationName,
DefaultRole: bolt.DefaultOrganizationRole,
},
{
Name: "EE - Evil Empire",