Skip to content

Commit

Permalink
fix: KubernetesListOperationsImpl propagates configured propagationpo…
Browse files Browse the repository at this point in the history
…licy
  • Loading branch information
manusa committed Mar 9, 2021
1 parent 8b326f5 commit 39b6166
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ public Boolean delete(List<KubernetesList> lists) {

@Override
public Gettable<KubernetesList> fromServer() {
return new KubernetesListOperationsImpl(client, config, namespace, null, DeletionPropagation.BACKGROUND, true, deletingExisting, item, null);
return new KubernetesListOperationsImpl(client, config, namespace, null, context.getPropagationPolicy(), true, deletingExisting, item, null);
}

@Override
public Createable<KubernetesList> deletingExisting() {
return new KubernetesListOperationsImpl(client, config, namespace, null, DeletionPropagation.BACKGROUND, fromServer, true, item, null);
return new KubernetesListOperationsImpl(client, config, namespace, null, context.getPropagationPolicy(), fromServer, true, item, null);
}

private List<HasMetadata> createItemsInKubernetesList(KubernetesList list) {
Expand Down

0 comments on commit 39b6166

Please sign in to comment.