Skip to content

Commit

Permalink
switch to table
Browse files Browse the repository at this point in the history
  • Loading branch information
mamari90 committed Jan 25, 2024
1 parent c64d042 commit 0cfffa1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/synthetic-monitoring.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ axios.interceptors.request.use(
async function main() {
let monitoringConfigurations = tableClient.listEntities();
let tests = []
// for (const tableConfiguration in monitoringConfigurations) {
for await (const tableConfiguration of monitoringConfigurations) {
console.log(`tableconfiguration: ${JSON.stringify(tableConfiguration)}`)
//property names remap

//property names remap and parsing
let monitoringConfiguration = {...tableConfiguration}
console.log(`monitoringConfiguration: ${JSON.stringify(monitoringConfiguration)}`)
monitoringConfiguration['appName'] = tableConfiguration.partitionKey
Expand Down

0 comments on commit 0cfffa1

Please sign in to comment.