chore(scaffolder): Add a comment about loading from disk every time

This commit is contained in:
blam
2020-02-05 16:47:04 +01:00
parent 600a001d6f
commit c112b57ed6
+1
View File
@@ -14,6 +14,7 @@ type Server struct {
// GetAllTemplates returns the local templatess
func (s *Server) GetAllTemplates(ctx context.Context, req *pb.Empty) (*pb.GetAllTemplatesReply, error) {
// todo (blam): yes we currently read the disk on every load. but it's fine for now 🤷‍♂️
definitions, err := s.Repository.Load()
var templates []*pb.Template