Skip to content

Commit

Permalink
set the id with remote prefix in custom metric
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollins-axway committed Nov 8, 2024
1 parent b344383 commit 9f4f305
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/customunit/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
"github.com/Axway/agent-sdk/pkg/apic/definitions"
"github.com/Axway/agent-sdk/pkg/config"
"github.com/Axway/agent-sdk/pkg/transaction/models"
transUtil "github.com/Axway/agent-sdk/pkg/transaction/util"
"github.com/Axway/agent-sdk/pkg/util"
"github.com/Axway/agent-sdk/pkg/util/log"
)
Expand Down Expand Up @@ -261,7 +262,7 @@ func (c *CustomUnitMetricServerManager) APIServiceLookup(apiServiceLookup *custo
}

return &models.APIDetails{
ID: id,
ID: transUtil.FormatProxyID(id),
Name: apiSvc.Name,
}, nil
}
Expand Down

0 comments on commit 9f4f305

Please sign in to comment.