1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-24 22:26:54 +02:00
* get k8s pod

* fix: filed

* field
This commit is contained in:
biubiubiu-ljd
2021-06-03 14:01:26 +08:00
committed by GitHub
parent 86d8d8f07e
commit ed44e9acc3
2 changed files with 3 additions and 3 deletions

View File

@ -155,7 +155,7 @@ func (k *k8sWatcher) handleEvent(event watch.Event) {
for _, result := range results {
// pod isnt running
if pod.Status.Phase != podRunning || pod.Meta.DeletionTimestamp != "" {
if pod.Status.Phase != podRunning || pod.Metadata.DeletionTimestamp != "" {
result.Action = "delete"
}
k.next <- result