Skip to content

Commit

Permalink
(hotfix) change snapshot config
Browse files Browse the repository at this point in the history
- remove `form` from snapshot config and change by `json`

BREAKING CHANGE: No

Signed-off-by: Alejandro JNM <[email protected]>
  • Loading branch information
alejandrojnm authored and andyjeffries committed Apr 3, 2020
1 parent d0635c7 commit 77d2996
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ type Snapshot struct {
// SnapshotConfig represents the options required for creating a new snapshot
type SnapshotConfig struct {
InstanceID string `json:"instance_id"`
Safe bool `from:"safe"`
Cron string `from:"cron_timing"`
Safe bool `json:"safe"`
Cron string `json:"cron_timing"`
}

// CreateSnapshot create a new or update an old snapshot
Expand Down

0 comments on commit 77d2996

Please sign in to comment.