mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 03:34:15 -06:00
Fix provisioning for a missing plugin (#88354)
This commit is contained in:
parent
39298a656a
commit
0b526acf09
@ -315,8 +315,8 @@ func (s *Service) prepareInstanceSettings(ctx context.Context, pluginContext bac
|
||||
// Make sure it is a known plugin type
|
||||
p, found := s.pluginStore.Plugin(ctx, settings.Type)
|
||||
if !found {
|
||||
return nil, errutil.BadRequest("datasource.unknownPlugin",
|
||||
errutil.WithPublicMessage(fmt.Sprintf("plugin '%s' not found", settings.Type)))
|
||||
// Ignore non-existing plugins for the time being
|
||||
return settings, nil
|
||||
}
|
||||
|
||||
// When the APIVersion is set, the client must also implement AdmissionHandler
|
||||
|
Loading…
Reference in New Issue
Block a user