mirror of
https://github.com/go-micro/go-micro.git
synced 2025-09-16 08:36:30 +02:00
Fix k8s commands for github (#1257)
This commit is contained in:
@@ -70,7 +70,7 @@ func newService(s *runtime.Service, c runtime.CreateOptions) *service {
|
||||
}
|
||||
|
||||
// specify the command to exec
|
||||
if len(c.Command) > 0 {
|
||||
if strings.HasPrefix(c.Source, "github.com") && len(c.Command) > 0 {
|
||||
kdeploy.Spec.Template.PodSpec.Containers[0].Command = c.Command
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user