Update jen20/riviera dependency

This commit is contained in:
James Nugent 2016-02-18 13:34:38 -08:00 committed by stack72
parent 17a7990708
commit dbc5464a19
2 changed files with 11 additions and 12 deletions

View File

@ -37,7 +37,6 @@ func readTaggedFields(command interface{}) map[string]interface{} {
result := make(map[string]interface{})
for i := 0; i < value.NumField(); i++ { // iterates through every struct type field
fmt.Println(i, value.Type().Field(i).Name)
tag := value.Type().Field(i).Tag // returns the tag string
tagValue := tag.Get("riviera")
if tagValue != "" {

View File

@ -3,17 +3,17 @@ package search
import "github.com/jen20/riviera/azure"
type GetSearchServiceResponse struct {
ID *string `mapstructure:"id"`
Name string `json:"-"`
ResourceGroupName string `json:"-"`
Location string `json:"-" riviera:"location"`
Tags map[string]*string `json:"-" riviera:"tags"`
Sku *Sku `json:"sku,omitempty"`
ReplicaCount *string `json:"replicaCount,omitempty"`
PartitionCount *string `json:"partitionCount,omitempty"`
Status *string `mapstructure:"status"`
StatusDetails *string `mapstructure:"statusDetails"`
ProvisioningStatus *string `mapstructure:"provisioningStatus"`
ID *string `mapstructure:"id"`
Name string `json:"-"`
ResourceGroupName string `json:"-"`
Location string `json:"-" riviera:"location"`
Tags map[string]*string `json:"-" riviera:"tags"`
Sku *Sku `json:"sku,omitempty"`
ReplicaCount *string `json:"replicaCount,omitempty"`
PartitionCount *string `json:"partitionCount,omitempty"`
Status *string `mapstructure:"status"`
StatusDetails *string `mapstructure:"statusDetails"`
ProvisioningState *string `mapstructure:"provisioningState"`
}
type GetSearchService struct {