We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6950758 commit 68f0519Copy full SHA for 68f0519
dstack-util/src/parse_env_file.rs
@@ -42,10 +42,7 @@ struct Data {
42
env: Vec<Pair>,
43
}
44
45
-pub fn parse_env(
46
- env_json: &[u8],
47
- allowed: &BTreeSet<String>,
48
-) -> Result<BTreeMap<String, String>> {
+pub fn parse_env(env_json: &[u8], allowed: &BTreeSet<String>) -> Result<BTreeMap<String, String>> {
49
const MAX_ITEMS: usize = 1024;
50
const MAX_TOTAL_SIZE: usize = 1024 * 1024;
51
0 commit comments