Skip to content

Commit

Permalink
fix: adding kube suffix
Browse files Browse the repository at this point in the history
Signed-off-by: axel7083 <[email protected]>
  • Loading branch information
axel7083 committed Jan 31, 2025
1 parent f2c8178 commit cdd7441
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/backend/src/services/quadlet-service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ describe('QuadletService#saveIntoMachine', () => {
// expect yaml file to be created
expect(PODMAN_SERVICE_MOCK.writeTextFile).toHaveBeenCalledWith(
WSL_RUNNING_PROVIDER_CONNECTION_MOCK,
`~/.config/containers/systemd/foo.yaml`, // always the same (using node:path/posix)
`~/.config/containers/systemd/foo-kube.yaml`, // always the same (using node:path/posix)
'foo: bar',
);
});
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/services/quadlet-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export class QuadletService extends QuadletHelper implements Disposable, AsyncIn
console.warn(err);
load(resource);
return {
filename: `${basename}.yaml`,
filename: `${basename}-kube.yaml`,
content: resource,
};
}
Expand Down

0 comments on commit cdd7441

Please sign in to comment.