Skip to content

Commit

Permalink
BC-7239 - change write
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Jun 21, 2024
1 parent 77a7a81 commit 54f0317
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.configMaps().resource(configmap).createOrReplace();
client.resource(configmap).createOrReplace();
}
}
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.configMaps().resource(configmap).create();
client.resource(configmap).create();
}
}
}

0 comments on commit 54f0317

Please sign in to comment.