Skip to content

Commit

Permalink
Ran npm run prettier and then npm run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
NotChristianGarcia committed Mar 14, 2024
1 parent 0bcbec1 commit 542b609
Show file tree
Hide file tree
Showing 17 changed files with 93 additions and 110 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ You don’t have to ever use `eject`. The curated feature set is suitable for sm

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).
To learn React, check out the [React documentation](https://reactjs.org/).
20 changes: 10 additions & 10 deletions src/fixtures/pods.fixtures.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Pods } from '@tapis/tapis-typescript';
//import { Pods } from '@tapis/tapis-typescript';

export const tapisPod = {
pod_id: 'testpod2',
Expand All @@ -13,40 +13,40 @@ export const tapisPod = {
test4: {
type: 'tapisvolume',
mount_path: '/var/lib/postgresql/data',
sub_path: ''
}
sub_path: '',
},
},
time_to_stop_default: -1,
time_to_stop_instance: undefined,
networking: {
default: {
protocol: 'postgres',
port: 5432,
url: 'test4.pods.tacc.develop.tapis.io'
}
url: 'test4.pods.tacc.develop.tapis.io',
},
},
resources: {
cpu_request: 250,
cpu_limit: 2000,
mem_request: 256,
mem_limit: 3072,
gpus: 0
gpus: 0,
},
time_to_stop_ts: null,
status: 'AVAILABLE',
status_container: {
phase: 'Running',
start_time: '2024-02-13T20:58:32.000000',
message: 'Pod is running.'
message: 'Pod is running.',
},
data_attached: [],
roles_inherited: [],
creation_ts: '2024-02-13T20:58:31.358557',
update_ts: '2024-02-13T20:58:31.358649',
start_instance_ts: '2024-02-13T20:59:08.175504',
action_logs: [
'24/02/13 20:58: Pod object created by \'cgarcia\'',
"24/02/13 20:58: Pod object created by 'cgarcia'",
'24/02/13 20:58: spawner set status to CREATING',
'24/02/13 20:59: health set status to AVAILABLE'
]
'24/02/13 20:59: health set status to AVAILABLE',
],
};
6 changes: 1 addition & 5 deletions src/tapis-api/pods/details.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { Pods } from '@tapis/tapis-typescript';
import { apiGenerator, errorDecoder } from 'tapis-api/utils';

const details = (
params: Pods.GetPodRequest,
basePath: string,
jwt: string
) => {
const details = (params: Pods.GetPodRequest, basePath: string, jwt: string) => {
const api: Pods.PodsApi = apiGenerator<Pods.PodsApi>(
Pods,
Pods.PodsApi,
Expand Down
6 changes: 1 addition & 5 deletions src/tapis-api/pods/list.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { Pods } from '@tapis/tapis-typescript';
import { apiGenerator, errorDecoder } from 'tapis-api/utils';

const list = (
params: {},
basePath: string,
jwt: string
) => {
const list = (params: {}, basePath: string, jwt: string) => {
const api: Pods.PodsApi = apiGenerator<Pods.PodsApi>(
Pods,
Pods.PodsApi,
Expand Down
4 changes: 1 addition & 3 deletions src/tapis-api/pods/makeNewPod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ const makeNewPod = (
basePath,
jwt
);
return errorDecoder<Pods.PodResponse>(() =>
api.createPod(reqCreatePod)
);
return errorDecoder<Pods.PodResponse>(() => api.createPod(reqCreatePod));
};

export default makeNewPod;
4 changes: 1 addition & 3 deletions src/tapis-app/Pods/PodDetail/_Layout/Layout.tsx

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

4 changes: 1 addition & 3 deletions src/tapis-app/Pods/_Router/Router.tsx

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

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

Loading

0 comments on commit 542b609

Please sign in to comment.