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

added destination name to model #59

Merged
merged 2 commits into from
Aug 20, 2019
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
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ var kubeConfigPath string
var TokenStore client.TokenStore

// version should be in format d.d.d where d is a decimal number
const Version string = "v0.0.52"
const Version string = "v0.0.53"

var AppName string = InitAppName()

Expand Down
3 changes: 2 additions & 1 deletion models/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ type SubsetToPorts struct {
}

type LabelsToPortMap struct {
Map map[string]SubsetToPorts `json:"map"`
DestinationName string `json:"destinationName"`
Map map[string]SubsetToPorts `json:"map"`
}

type DestinationsSubsetsMap struct {
Expand Down