Skip to content

Commit

Permalink
delete unneeded codes in types.go
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonMen65 committed Jan 4, 2021
1 parent f964fcf commit fbc3d64
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions data/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,8 @@ type Targets struct {
Targets TargetFiles `json:"targets"`
Keys map[string]*Key `json:"keys"`
Roles map[string]*Role `json:"roles"`
//Delegations map[string]*Delegation `json:"delegations"`
}


func NewTargets() *Targets {
return &Targets{
Type: "targets",
Expand All @@ -278,7 +276,6 @@ func NewTargets() *Targets {
Targets: make(TargetFiles),
Keys: make(map[string]*Key),
Roles: make(map[string]*Role),
//Delegations: make(map[string]*Delegation),
}
}

Expand Down

0 comments on commit fbc3d64

Please sign in to comment.