Skip to content

local info: refactor information about the local env#332

Merged
mattklein123 merged 3 commits intomasterfrom
refactor_local_info
Jan 6, 2017
Merged

local info: refactor information about the local env#332
mattklein123 merged 3 commits intomasterfrom
refactor_local_info

Conversation

@mattklein123
Copy link
Copy Markdown
Member

This has been bothering me for a while. We are copying things like local
zone, local cluster, etc. all over the place. It's also likely that we will
add more things in the future. This introduces a LocalInfo abstract class
which holds such information.

The change is large by number of lines but it's simple.

This has been bothering me for a while. We are copying things like local
zone, local cluster, etc. all over the place. It's also likely that we will
add more things in the future. This introduces a LocalInfo abstract class
which holds such information.

The change is large by number of lines but it's simple.
@mattklein123
Copy link
Copy Markdown
Member Author

@lyft/network-team

*/
virtual uint64_t restartEpoch() PURE;

/**
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move these comments to LocalInfo

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

already fixed.

virtual ~LocalInfo() {}

/**
* Human readable network address.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: can you put also example for this. Human readable network address, e.g., ...

@RomanDzhabarov
Copy link
Copy Markdown
Member

+1

@mattklein123 mattklein123 merged commit a0f95ed into master Jan 6, 2017
@mattklein123 mattklein123 deleted the refactor_local_info branch January 6, 2017 18:46
rshriram pushed a commit to rshriram/envoy that referenced this pull request Oct 30, 2018
Automatic merge from submit-queue.

[DO NOT MERGE] Auto PR to update dependencies of mixerclient

This PR will be merged automatically once checks are successful.
```release-note
none
```
mathetake added a commit that referenced this pull request Mar 3, 2026
**Commit Message**

Previously, square brackets without being followed by () was also
rejected. This fixes the regex and allows it.

**Related Issues/PRs (if applicable)**

Follow up on #322

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants