From fbc3d644924695c8f1e1168a20822b392e3a5263 Mon Sep 17 00:00:00 2001 From: SimonMen65 Date: Mon, 4 Jan 2021 18:21:35 -0500 Subject: [PATCH] delete unneeded codes in types.go --- data/types.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/data/types.go b/data/types.go index 32485bd0a..5ca525ce4 100644 --- a/data/types.go +++ b/data/types.go @@ -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", @@ -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), } }