Skip to content

Commit

Permalink
cmn: mark Conf field in BackendConf as not marshallable
Browse files Browse the repository at this point in the history
Signed-off-by: Janusz Marcinkiewicz <[email protected]>
  • Loading branch information
VirrageS committed Jun 7, 2024
1 parent 5429a7f commit 5507ee0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmn/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,9 @@ type (
}

BackendConf struct {
// provider implementation-dependent
Conf map[string]any `json:"conf,omitempty"`
// Provider implementation-dependent. We are using custom marshaling
// which populates this field.
Conf map[string]any `json:"-"`
// 3rd party Cloud(s) -- set during validation
Providers map[string]Ns `json:"-"`
}
Expand Down

0 comments on commit 5507ee0

Please sign in to comment.