Skip to content

Commit fad6b7f

Browse files
committed
revert test change and refine comment
1 parent 896ab2e commit fad6b7f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

rust/operator-binary/src/airflow_controller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ async fn ensure_random_secrets(
269269
// https://airflow.apache.org/docs/apache-airflow/stable/security/secrets/fernet.html#security-fernet
270270
// does not document how long the fernet key should be, but recommends using
271271
// python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
272-
// which returns `jUm21LuA76YZmrIa9u4eXRg0h0P24MDC9IDOmDvJbfw=`, which has 44 characters, which makes 32 bytes.
272+
// which returns 32 bytes.
273273
random_secret_creation::create_random_secret_if_not_exists(
274274
cluster.fernet_key_name().as_ref(),
275275
FERNET_KEY_SECRET_KEY,

rust/operator-binary/src/controller/build/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ mod tests {
186186
metadata:
187187
name: airflow
188188
namespace: default
189+
uid: e6ac237d-a6d4-43a1-8135-f36506110912
189190
spec:
190191
image:
191192
productVersion: 3.1.6

0 commit comments

Comments
 (0)