Skip to content

config: add missing imports to delta_subscription_state#6869

Merged
alyssawilk merged 1 commit intoenvoyproxy:masterfrom
fcfort:missing_imports
May 9, 2019
Merged

config: add missing imports to delta_subscription_state#6869
alyssawilk merged 1 commit intoenvoyproxy:masterfrom
fcfort:missing_imports

Conversation

@fcfort
Copy link
Contributor

@fcfort fcfort commented May 9, 2019

Signed-off-by: Frank Fort ffort@google.com

Description: delta_subscription_state.h/cc are using dependencies that aren't being declared in their includes or build dependencies. This PR adds the missing dependencies.
Risk Level: Low
Testing: Ran bazel test //source/common/config/...
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Frank Fort <ffort@google.com>
@@ -1,5 +1,7 @@
#include "common/config/delta_subscription_state.h"

#include "common/common/assert.h"
Copy link
Contributor

Choose a reason for hiding this comment

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

Generally "any includes present in the related header do not need to be included again in the related cc (i.e., foo.cc can rely on foo.h's includes)." but it doesn't do harm so just consider it in future?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, did not know that. Thanks I'll keep that in mind.

@alyssawilk alyssawilk self-assigned this May 9, 2019
@alyssawilk alyssawilk merged commit 4caf27c into envoyproxy:master May 9, 2019
@fcfort fcfort deleted the missing_imports branch May 10, 2019 20:29
mpuncel added a commit to mpuncel/envoy that referenced this pull request May 10, 2019
* master: (88 commits)
  upstream: Null-deref on TCP health checker if setsockopt fails  (envoyproxy#6793)
  ci: switch macOS CI to azure pipelines (envoyproxy#6889)
  os syscalls lib: break apart syscalls used for hot restart (envoyproxy#6880)
  Kafka codec: precompute request size before serialization, so we do n… (envoyproxy#6862)
  upstream: move static and strict_dns clusters to dedicated files (envoyproxy#6886)
  Rollforward of api: Add total_issued_requests to Upstream Locality and Endpoint Stats. (envoyproxy#6692) (envoyproxy#6784)
  fix explicit constructor in copy-initialization (envoyproxy#6884)
  stats: use tag iterator rather than constructing the tag-array and searching that. (envoyproxy#6853)
  common: use unscoped build target in generate_version_linkstamp (envoyproxy#6877)
  Addendum to envoyproxy#6778 (envoyproxy#6882)
  ci: add minimum Linux build for Azure Pipelines (envoyproxy#6881)
  grpc: utilities for inter-converting grpc::ByteBuffer and Buffer::Instance. (envoyproxy#6732)
  upstream: allow excluding hosts from lb calculations until initial health check (envoyproxy#6794)
  stats: prevent unused counters from leaking across hot restart (envoyproxy#6850)
  network filters: add `injectDataToFilterChain(data, end_stream)` method to network filter callbacks (envoyproxy#6750)
  delete things that snuck back in (envoyproxy#6873)
  config: scoped rds (2b): support delta APIs in ConfigProvider framework (envoyproxy#6781)
  string == string! (envoyproxy#6868)
  config: add mssing imports to delta_subscription_state (envoyproxy#6869)
  protobuf: add missing default case to enum (envoyproxy#6870)
  ...

Signed-off-by: Michael Puncel <mpuncel@squareup.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.

2 participants