Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions commands/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,8 @@ func runBuild(cmd *cobra.Command, args []string) error {
return fmt.Errorf("could not pull templates from function yaml file: %s", err.Error())
}
} else {
templateAddress := getTemplateURL("", os.Getenv(templateURLEnvironment), DefaultTemplateRepository)
if pullErr := pullTemplates(templateAddress); pullErr != nil {
return fmt.Errorf("could not pull templates for OpenFaaS: %v", pullErr)
for _, function := range services.Functions {
runTemplateStorePull(cmd, []string{function.Language})
Copy link
Contributor Author

@NikhilSharmaWe NikhilSharmaWe Jun 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexellis Just informing you that I'm a little busy with my exams this week, so I'll be able to test the scenarios for these changes after this week.

Thank you

}
}
if len(services.Functions) == 0 {
Expand Down