Skip to content

Commit 295d519

Browse files
chore: remove redundant word in comment (#4283)
1 parent 79d99d0 commit 295d519

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/cli-reference/dfx-canister.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ You can specify the following options for the `dfx canister update-settings` com
12111211
| `--confirm-very-short-freezing-threshold` | Freezing thresholds below 1 week require this option as confirmation. |
12121212
| `--impersonate <principal>` | Specifies a principal on behalf of which requests to a local PocketIC instance are sent. |
12131213
| `--set-controller <principal>` | Specifies the identity name or the principal of the new controller. Can be specified more than once, indicating the canister will have multiple controllers. If any controllers are set with this parameter, any other controllers will be removed. |
1214-
| `--set-log-viewer <principal>` | Specifies the the principal of the log viewer of the canister. Can be specified more than once, indicating the canister will have multiple log viewers. If any log viewers are set with this parameter, any other log viewers will be removed. If current log visibility is `public` or `controllers`, it will be changed to the custom allowed viewer list. |
1214+
| `--set-log-viewer <principal>` | Specifies the principal of the log viewer of the canister. Can be specified more than once, indicating the canister will have multiple log viewers. If any log viewers are set with this parameter, any other log viewers will be removed. If current log visibility is `public` or `controllers`, it will be changed to the custom allowed viewer list. |
12151215
| `--memory-allocation <allocation>` | Specifies how much memory the canister is allowed to use in total. This should be a value in the range [0..12 GiB]. A setting of 0 means the canister will have access to memory on a "best-effort" basis: It will only be charged for the memory it uses, but at any point in time may stop running if it tries to allocate more memory when there isn't space available on the subnet. |
12161216
| `--reserved-cycles-limit <limit>` | Specifies the upper limit of the canister's reserved cycles. |
12171217
| `--wasm-memory-limit <limit>` | Specifies a soft upper limit for the canister's heap memory. |

e2e/tests-dfx/info.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ teardown() {
103103
]" > src/e2e_project_frontend/assets/.ic-assets.json5
104104
cat src/e2e_project_frontend/assets/.ic-assets.json5
105105

106-
# fails if the the above produced invalid json5
106+
# fails if the above produced invalid json5
107107
assert_command dfx deploy
108108
}
109109

src/dfx/src/commands/canister/create.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ pub struct CanisterCreateOpts {
109109
#[arg(long, value_parser = log_visibility_parser, conflicts_with("log_viewer"))]
110110
log_visibility: Option<LogVisibility>,
111111

112-
/// Specifies the the principal of the log viewer of the canister.
112+
/// Specifies the principal of the log viewer of the canister.
113113
/// Can be specified more than once.
114114
#[arg(long, action = ArgAction::Append, value_parser = principal_parser, conflicts_with("log_visibility"))]
115115
log_viewer: Option<Vec<candid::Principal>>,

src/dfx/src/lib/canister_logs/log_visibility.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub struct LogVisibilityOpt {
2828
#[arg(long, action = ArgAction::Append, value_parser = principal_parser, conflicts_with("set_log_viewer"))]
2929
remove_log_viewer: Option<Vec<Principal>>,
3030

31-
/// Specifies the the principal of the log viewer of the canister.
31+
/// Specifies the principal of the log viewer of the canister.
3232
/// Can be specified more than once.
3333
#[arg(
3434
long,

0 commit comments

Comments
 (0)