mstorectl: replaced yaml tag to json
This commit is contained in:
@@ -28,8 +28,8 @@ type ListGrantsParams struct {
|
||||
}
|
||||
|
||||
type ListGrantsResult struct {
|
||||
Grants []descr.Grant `yaml:"grants,omitempty"`
|
||||
Rights map[string]string `yaml:"rights,omitempty"`
|
||||
Grants []descr.Grant `json:"grants,omitempty"`
|
||||
Rights map[string]string `json:"rights,omitempty"`
|
||||
}
|
||||
|
||||
func (util *GrantUtil) ListGrants(cmd *cobra.Command, args []string) {
|
||||
|
||||
Reference in New Issue
Block a user