Skip to content

Commit

Permalink
Merge pull request cloudfoundry#216 from cf-routing/backward-logic-fi…
Browse files Browse the repository at this point in the history
…x-147454819

Fix logic in CreateOrGetIsolationSegment
  • Loading branch information
jaresty authored Jun 19, 2017
2 parents 04c71e2 + e0e8e8a commit d167c1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers/v3_helpers/v3.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ func CreateOrGetIsolationSegment(name string) (string, bool) {
var created bool
if IsolationSegmentExists(name) {
isoSegGuid = GetIsolationSegmentGuid(name)
created = true
created = false
} else {
isoSegGuid = CreateIsolationSegment(name)
created = false
created = true
}
return isoSegGuid, created
}
Expand Down

0 comments on commit d167c1f

Please sign in to comment.