Skip to content

Commit

Permalink
Merge pull request #6634 from bboozzoo/bboozzoo/gadget-update-validation
Browse files Browse the repository at this point in the history
snap: add validation of gadget.yaml
  • Loading branch information
bboozzoo committed Apr 1, 2019
2 parents c4839e7 + 77405b0 commit db6412d
Show file tree
Hide file tree
Showing 3 changed files with 994 additions and 58 deletions.
5 changes: 5 additions & 0 deletions snap/export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ var (
ValidateDescription = validateDescription
ValidateTitle = validateTitle
InfoFromSnapYamlWithSideInfo = infoFromSnapYamlWithSideInfo

ValidateStructureType = validateStructureType
ValidateVolumeStructure = validateVolumeStructure
ValidateRole = validateRole
ValidateVolume = validateVolume
)

func (info *Info) ForceRenamePlug(oldName, newName string) {
Expand Down

0 comments on commit db6412d

Please sign in to comment.