Skip to content

Commit

Permalink
podname logs for log service
Browse files Browse the repository at this point in the history
  • Loading branch information
frostebite committed Aug 11, 2023
1 parent f889ac6 commit 14819a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { CloudRunnerSystem } from '../../services/core/cloud-runner-system';
class KubernetesLogService {
static async cleanupLogDeployment(namespace: string, kubeClientApps: k8s.AppsV1Api, kubeClient: CoreV1Api) {
if (!process.env.LOG_SERVICE_IP) {
return `0.0.0.0`;
return Promise.resolve();
}
await kubeClient.deleteNamespacedService('http-fileserver', namespace);
await kubeClientApps.deleteNamespacedDeployment('http-fileserver', namespace);
Expand Down

0 comments on commit 14819a6

Please sign in to comment.