Skip to content

Commit

Permalink
Merge pull request #37 from f5devcentral/v1.1.2
Browse files Browse the repository at this point in the history
main commit
  • Loading branch information
DumpySquare committed May 24, 2023
2 parents 6b63f1e + 42ac8be commit 0122d0a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how

---

## [1.1.2] - (05.25.2023)

### Changed

- [BUG] snatpool abstraction broken #36

---

## [1.1.1] - (05.25.2023)

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "f5-corkscrew",
"description": "extracting tmos config",
"author": "F5DevCentral",
"version": "1.1.1",
"version": "1.1.2",
"license": "Apache-2.0",
"homepage": "https://github.com/f5devcentral/f5-corkscrew#readme",
"main": "dist/index.js",
Expand Down
3 changes: 1 addition & 2 deletions src/digConfigs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,9 @@ export async function digVsConfig(vsName: string, vsConfig: BigipConfObj["ltm"][
// if not, then its 'automap' or 'none' => nothing to add here
if (configTree.ltm.snatpool[vsConfig.snat]) {
const c = JSON.parse(JSON.stringify(configTree.ltm.snatpool[vsConfig.snat]));
appObj.lines.push(`ltm snatpool ${vsConfig.snat} { ${c.line} }`)
delete c.line;
appObj.snat = c;
appObj.lines.push(`ltm snatpool ${vsConfig.snat} { ${c.line} }`)

}
}

Expand Down

0 comments on commit 0122d0a

Please sign in to comment.