Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Commit

Permalink
BC-7239 - next try
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Jun 21, 2024
1 parent c8871e1 commit 5544cc8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void writeConfigmap(String namespace, String name, Configmap cfg) {
data = configmap.getData();
data.put("uri", cfg.getUri());
configmap.setData(data);
client.resource(configmap).createOrReplace();
client.configMaps().createOrReplace(configmap);
}
}
else {
Expand All @@ -45,7 +45,7 @@ public void writeConfigmap(String namespace, String name, Configmap cfg) {
meta = configmap.getMetadata();
meta.setLabels(labels);
configmap.setMetadata(meta);
client.resource().create(configmap);
client.configMaps().create(configmap);
}
}
}

0 comments on commit 5544cc8

Please sign in to comment.