Skip to content

Commit

Permalink
Add omitempty for Local storage
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Jul 13, 2017
1 parent 8f479b3 commit 244f7ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/restic_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ type FileGroup struct {
type Backend struct {
StorageSecretName string `json:"storageSecretName,omitempty"`

Local *LocalSpec `json:"local"`
Local *LocalSpec `json:"local,omitempty"`
S3 *S3Spec `json:"s3,omitempty"`
GCS *GCSSpec `json:"gcs,omitempty"`
Azure *AzureSpec `json:"azure,omitempty"`
Expand Down

0 comments on commit 244f7ca

Please sign in to comment.