aboutsummaryrefslogtreecommitdiffstats
path: root/core.go
diff options
context:
space:
mode:
Diffstat (limited to 'core.go')
-rw-r--r--core.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/core.go b/core.go
index f7f0555..e15f397 100644
--- a/core.go
+++ b/core.go
@@ -87,12 +87,12 @@ func (b *Bom) Validate() error {
return nil
}
-func (bs *BomMeta) Validate() error {
- if !isShortName(bs.Name) {
- return Error("name not a ShortName: \"" + bs.Name + "\"")
+func (bm *BomMeta) Validate() error {
+ if !isShortName(bm.Name) {
+ return Error("name not a ShortName: \"" + bm.Name + "\"")
}
- if !isShortName(bs.Owner) {
- return Error("owner name not a ShortName: \"" + bs.Owner + "\"")
+ if !isShortName(bm.Owner) {
+ return Error("owner name not a ShortName: \"" + bm.Owner + "\"")
}
return nil
}