Lowercase json display

This commit is contained in:
alok87 2016-12-04 17:35:01 +05:30
parent 99aa9d6490
commit a9badebf42
2 changed files with 8 additions and 8 deletions

View File

@ -20,9 +20,9 @@ type BastionSpec struct {
// Controls if a private topology should deploy a bastion host or not
// The bastion host is designed to be a simple, and secure bridge between
// the public subnet and the private subnet
Enable bool `json:"Enable,omitempty"`
MachineType string `json:"MachineType,omitempty"`
PublicName string `json:"Name,omitempty"`
Enable bool `json:"enable,omitempty"`
MachineType string `json:"machineType,omitempty"`
PublicName string `json:"name,omitempty"`
// Bastion's Loadbalancer idle timeout
IdleTimeout int `json:"IdleTimeout,omitempty"`
IdleTimeout int `json:"idleTimeout,omitempty"`
}

View File

@ -20,9 +20,9 @@ type BastionSpec struct {
// Controls if a private topology should deploy a bastion host or not
// The bastion host is designed to be a simple, and secure bridge between
// the public subnet and the private subnet
Enable bool `json:"Enable,omitempty"`
MachineType string `json:"MachineType,omitempty"`
PublicName string `json:"Name,omitempty"`
Enable bool `json:"enable,omitempty"`
MachineType string `json:"machineType,omitempty"`
PublicName string `json:"name,omitempty"`
// Bastion's Loadbalancer idle timeout
IdleTimeout int `json:"IdleTimeout,omitempty"`
IdleTimeout int `json:"idleTimeout,omitempty"`
}