Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore camelCase key names #205

Merged
merged 1 commit into from
Aug 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion internal/stacks/stack_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,6 @@ func (s *StackManager) runFirstTimeSetup(options *types.StartOptions) (messages
Predefined: []*types.Namespace{
{
Name: "default",
RemoteName: "default",
Description: "Default predefined namespace",
Plugins: []string{"database0", "blockchain0"},
},
Expand Down
5 changes: 2 additions & 3 deletions pkg/types/namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ package types

type Namespace struct {
Name string `yaml:"name"`
RemoteName string `yaml:"remotename,omitempty"`
Description string `yaml:"description,omitempty"`
Plugins []string `yaml:"plugins"`
Multiparty *MultipartyConfig `yaml:"multiparty,omitempty"`
DefaultKey interface{} `yaml:"defaultkey"`
DefaultKey interface{} `yaml:"defaultKey"`
}

type Plugins struct {
Expand All @@ -41,7 +40,7 @@ type MultipartyConfig struct {

type ContractConfig struct {
Location interface{} `yaml:"location"`
FirstEvent string `yaml:"firstevent"`
FirstEvent string `yaml:"firstEvent"`
}

type MultipartyOrgConfig struct {
Expand Down