Skip to content

Commit

Permalink
Update src/go/rpk/pkg/cli/cluster/partitions/list.go
Browse files Browse the repository at this point in the history
Co-authored-by: Rogger Vasquez <59714880+r-vasquez@users.noreply.github.com>
  • Loading branch information
daisukebe and r-vasquez authored Apr 20, 2024
1 parent c369b34 commit 83b5481
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/go/rpk/pkg/cli/cluster/partitions/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,5 @@ func replicaOnBroker(replicas adminapi.Replicas, brokers []int) bool {
}
}

if foundCount == len(brokers) {
return true
} else {
return false
}
return foundCount == len(brokers)
}

0 comments on commit 83b5481

Please sign in to comment.