fix: resolve null pointer due to empty validator and comment out release model code

This commit is contained in:
sunanzhi
2025-03-07 14:56:54 +08:00
parent d3bd782165
commit 77e6f100b7
2 changed files with 8 additions and 1 deletions
+4 -1
View File
@@ -637,7 +637,7 @@ func (i *imlProviderModule) UpdateProviderConfig(ctx context.Context, id string,
if err != nil {
return err
}
/**
if *pInfo.Status == 0 {
return i.syncGateway(ctx, cluster.DefaultClusterID, []*gateway.DynamicRelease{
{
@@ -672,6 +672,9 @@ func (i *imlProviderModule) UpdateProviderConfig(ctx context.Context, id string,
Attr: cfg,
}, newKey(defaultKey),
}, true)
*/
return nil
})
}