diff --git a/xray/manager.go b/xray/manager.go index 845688c41..4cff3dcc8 100644 --- a/xray/manager.go +++ b/xray/manager.go @@ -247,6 +247,7 @@ func (sm *XrayServicesManager) IsEntitled(featureId string) (bool, error) { // Xsc returns the Xsc service inside Xray func (sm *XrayServicesManager) Xsc() *xsc.XscInnerService { xscService := xsc.NewXscService(sm.client) - xscService.XrayDetails = sm.config.GetServiceDetails() + temp := sm.config.GetServiceDetails() + xscService.XrayDetails = temp return xscService }