Skip to content

Commit

Permalink
Merge pull request #349 from mgrachev/feature/remove-unused-code
Browse files Browse the repository at this point in the history
Remove unused code
  • Loading branch information
michaelsauter authored Apr 24, 2019
2 parents f90b51b + 25f883c commit 91896cf
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions crane/target.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,6 @@ func NewTarget(dependencyMap map[string]*Dependencies, targetArg string, extendF
return
}

// includes checks whether the given needle is
// included in the target
func (t Target) includes(needle string) bool {
for _, name := range t.all() {
if name == needle {
return true
}
}
return false
}

// Return all targeted containers, sorted alphabetically
func (t Target) all() []string {
all := t.initial
Expand Down

0 comments on commit 91896cf

Please sign in to comment.