This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refactor code storage logic for trial #2403
Refactor code storage logic for trial #2403
Changes from all commits
704b50e
5b0034e
8fe2588
9fae194
c785655
2f5272c
1892bc2
7c1ab11
8c203f3
d7a62f6
e259d10
4997295
c037a7c
7620e7c
d16dbe9
9ce751d
a0846f2
cd3a912
32efaa3
543239c
36e6e35
f9ee589
b9a7a95
1a5c017
392460a
9bafa4c
c23b807
4132f62
4f66d0c
129c4a5
3fe117f
aa31674
1d74ae5
75028bd
4773c91
3ee0961
0fb7862
6c3148c
b4773e1
6728799
1b9daa3
e0c2c0e
e29b58a
22b25c5
22d4780
83d6d1c
3dfc4bc
88cb348
1e51182
d5ccfda
a3d7f35
d90433d
1455e4e
57b7767
c3c721f
e786ff8
fe6e848
62de928
6568eae
58922c7
0fd38de
0c1e5d0
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or the storage is
undefined
? This should be an error?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In original design, the
storage
field is optional, if it is not set, the default value isnfs
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but when storage is undefined, there is no config for storage, how do you mount it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is supposed to be check in NNICTL side, if users didn't set storage field, nnictl should check if usres set nfs configuration.