mirror of
https://github.com/openziti/zrok.git
synced 2025-04-03 12:10:33 +02:00
don't abandon detail generation if sparkdata is not available
This commit is contained in:
parent
8c2f71d28a
commit
d0cdcd3956
@ -45,7 +45,6 @@ func (h *environmentDetailHandler) Handle(params metadata.GetEnvironmentDetailPa
|
|||||||
sparkData, err = sparkDataForShares(shrs)
|
sparkData, err = sparkDataForShares(shrs)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logrus.Errorf("error querying spark data for shares: %v", err)
|
logrus.Errorf("error querying spark data for shares: %v", err)
|
||||||
return metadata.NewGetEnvironmentDetailInternalServerError()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for _, shr := range shrs {
|
for _, shr := range shrs {
|
||||||
|
Loading…
Reference in New Issue
Block a user