Skip to content

Commit 39fa392

Browse files
committed
fix: Use tags to specify json field names on permanent storage
1 parent 614c93d commit 39fa392

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

pkg/rclone/nodeserver.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,15 @@ func NodeCommandLineParameters(runCmd *cobra.Command, meters *[]metrics.Observab
185185
}
186186

187187
type MountedVolume struct {
188-
VolumeId string
189-
TargetPath string
190-
Remote string
191-
RemotePath string
192-
ConfigData string
193-
ReadOnly bool
194-
Parameters map[string]string
195-
SecretName string
196-
SecretNamespace string
188+
VolumeId string `json:"volume_id"`
189+
TargetPath string `json:"target_path"`
190+
Remote string `json:"remote"`
191+
RemotePath string `json:"remote_path"`
192+
ConfigData string `json:"config_data"`
193+
ReadOnly bool `json:"read_only"`
194+
Parameters map[string]string `json:"parameters"`
195+
SecretName string `json:"secret_name"`
196+
SecretNamespace string `json:"secret_namespace"`
197197
}
198198

199199
// Mounting Volume (Preparation)

0 commit comments

Comments
 (0)