mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-03 12:18:09 +08:00
Merge pull request #983 from yangkaa/master-maven
Fix Bug: the problem that the build is stuck after the maven configuration is deleted
This commit is contained in:
commit
2093353649
@ -236,6 +236,7 @@ func (c *controller) GetLanguageBuildSetting(ctx context.Context, lang code.Lang
|
||||
config, err := c.KubeClient.CoreV1().ConfigMaps(c.namespace).Get(ctx, name, metav1.GetOptions{})
|
||||
if err != nil {
|
||||
logrus.Errorf("get configmap %s failure %s", name, err.Error())
|
||||
return ""
|
||||
}
|
||||
if config != nil {
|
||||
return name
|
||||
|
Loading…
Reference in New Issue
Block a user