Skip to content

Commit

Permalink
golint
Browse files Browse the repository at this point in the history
Signed-off-by: Ashish Tiwari <ashishjaitiwari15112000@gmail.com>
  • Loading branch information
Revolyssup committed Jan 11, 2023
1 parent ba8c07e commit dd28c03
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion models/meshmodel/core/v1alpha1/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ func GetComponents(db *database.Handler, f ComponentFilter) (c []ComponentDefini
} else {
f.Offset--
}

}
} else if f.Name != "" {
finder := db.Model(&cdb)
Expand Down
1 change: 0 additions & 1 deletion models/meshmodel/core/v1alpha1/relationship.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ func GetRelationships(db *database.Handler, f RelationshipFilter) (rs []Relation
} else {
f.Offset--
}

}
} else if f.Kind != "" {
finder := db.Model(&rdb)
Expand Down
1 change: 0 additions & 1 deletion models/meshmodel/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ func (rm *RegistryManager) GetModels(f types.Filter) []v1alpha1.Model {
} else {
finder = finder.Where("name = ?", mf.Name)
}

}
if mf.Version != "" {
finder = finder.Where("version = ?", mf.Version)
Expand Down

0 comments on commit dd28c03

Please sign in to comment.