Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Rancher GLB #32

Merged
merged 1 commit into from
Jan 4, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions controller/rancher/metadata_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ type LBMetadata struct {
StickinessPolicy config.StickinessPolicy `json:"stickiness_policy"`
}

// converts an interface to LBMetadata
func getLBMetadata(data interface{}) (*LBMetadata, error) {
func GetLBMetadata(data interface{}) (*LBMetadata, error) {
lbMeta := &LBMetadata{}
if err := convert(data, lbMeta); err != nil {
return nil, err
Expand Down
Loading