File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ type Node struct {
1010 ID string
1111 Addr string
1212 Name string
13- TLSCert string `json :"TlsCert"`
13+ TLSCert string `msgpack :"TlsCert"`
1414 SmartBackend stoservertypes.SmartBackend
1515}
1616
@@ -40,7 +40,7 @@ type Volume struct {
4040 Notes string
4141 SerialNumber string
4242 Technology string
43- SmartID string `json :"SmartId"`
43+ SmartID string `msgpack :"SmartId"`
4444 SmartReport string
4545 Zone string
4646 Enclosure string
@@ -131,7 +131,7 @@ func (f *File) CopyEverythingExceptPath(other File) {
131131
132132type Blob struct {
133133 Ref BlobRef
134- EncryptionKeyID string `json :"EncryptionKeyId"`
134+ EncryptionKeyID string `msgpack :"EncryptionKeyId"`
135135 Volumes []int
136136 VolumesPendingReplication []int
137137 Referenced bool // aborted uploads (ones that do not get referenced by a commit) could leave orphaned blobs
@@ -145,7 +145,7 @@ type IntegrityVerificationJob struct {
145145 ID string
146146 Started time.Time
147147 Completed time.Time
148- VolumeID int `json :"VolumeId"`
148+ VolumeID int `msgpack :"VolumeId"`
149149 LastCompletedBlobRef BlobRef
150150 BytesScanned uint64
151151 ErrorsFound int
@@ -222,6 +222,6 @@ type KeySlot struct {
222222}
223223
224224type KeyEnvelope struct {
225- KeyID string `json:"key_id"`
225+ KeyID string `msgpack:"KeyId" json:"key_id"`
226226 Slots []KeySlot `json:"slots"`
227227}
You can’t perform that action at this time.
0 commit comments