Skip to content

Commit 3d83ff0

Browse files
committed
[FAB-9015] remove resources tree
Removed configtx resources tree Change-Id: I4a98a703d816b600ab9f5c05991377c7fd83f7a9 Signed-off-by: Srinivasan Muralidharan <srinivasan.muralidharan99@gmail.com>
1 parent 9015790 commit 3d83ff0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+284
-2238
lines changed

common/config/api.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,4 @@ type Config interface {
2222
type Manager interface {
2323
// GetChannelConfig defines methods that are related to channel configuration
2424
GetChannelConfig(channel string) Config
25-
26-
// GetResourceConfig defines methods that are related to resource configuration
27-
GetResourceConfig(channel string) Config
2825
}

common/configtx/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func (vi *ValidatorImpl) computeUpdateResult(updatedConfig map[string]comparable
205205

206206
func envelopeToConfigUpdate(configtx *cb.Envelope) (*cb.ConfigUpdateEnvelope, error) {
207207
configUpdateEnv := &cb.ConfigUpdateEnvelope{}
208-
_, err := utils.UnmarshalEnvelopeOfTypes(configtx, []cb.HeaderType{cb.HeaderType_CONFIG_UPDATE, cb.HeaderType_PEER_RESOURCE_UPDATE}, configUpdateEnv)
208+
_, err := utils.UnmarshalEnvelopeOfTypes(configtx, []cb.HeaderType{cb.HeaderType_CONFIG_UPDATE}, configUpdateEnv)
209209
if err != nil {
210210
return nil, err
211211
}

common/resourcesconfig/apis.go

Lines changed: 0 additions & 51 deletions
This file was deleted.

common/resourcesconfig/apis_test.go

Lines changed: 0 additions & 67 deletions
This file was deleted.

common/resourcesconfig/bundle.go

Lines changed: 0 additions & 161 deletions
This file was deleted.

common/resourcesconfig/bundle_test.go

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)