Skip to content

Commit

Permalink
Remove unused gke_container_log_entry method. (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
qingling128 authored Jul 31, 2020
1 parent 8405c52 commit ae806f8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/plugin/base_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2018,18 +2018,6 @@ def container_log_entry(log, stream = K8S_STREAM)
}
end

def gke_container_log_entry(log)
{
log: log,
LOCAL_RESOURCE_ID_KEY =>
"#{CONTAINER_LOCAL_RESOURCE_ID_PREFIX}.#{CONTAINER_NAMESPACE_ID}" \
".#{K8S_POD_NAME}.#{K8S_CONTAINER_NAME}"
}
end

# TODO(qingling128): Temporary fallback for metadata agent restarts.
# k8s resources.

def k8s_container_log_entry(log,
local_resource_id: K8S_LOCAL_RESOURCE_ID)
{
Expand Down

0 comments on commit ae806f8

Please sign in to comment.