Skip to content

Commit

Permalink
Fixing bug in Norman where references to a schema were improperly del…
Browse files Browse the repository at this point in the history
…eted.

This is to support pluggable kontainer drivers.

Issue:
rancher/rancher#12698
  • Loading branch information
nathan-jenan-rancher authored and ibuildthecloud committed Aug 13, 2018
1 parent 04c7130 commit 316a8ac
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions types/schemas.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ func (s *Schemas) doRemoveSchema(schema Schema) *Schemas {
}

func (s *Schemas) removeReferences(schema *Schema) {
fullType := convert.ToFullReference(schema.Version.Path, schema.ID)
delete(s.references, fullType)

for name, values := range s.references {
changed := false
var modified []BackReference
Expand Down

0 comments on commit 316a8ac

Please sign in to comment.