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

Commit

Permalink
Merge pull request #59 from magneticio/feature/destination-name-in-map
Browse files Browse the repository at this point in the history
added destination name to model
  • Loading branch information
avalcepina committed Aug 20, 2019
2 parents 5a01162 + 44df9e8 commit 0e7449d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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

0 comments on commit 0e7449d

Please sign in to comment.