INNER CODE UNIT · Rust

Some

Trow-Registry/trow · src/lib.rs:142

        if let Some(cfg) = self.config_file.image_validation.as_ref() {
            println!("Image validation webhook configured:");
            println!("  Default action: {}", cfg.default);
            println!("  Allowed prefixes: {:?}", cfg.allow);
            println!("  Denied prefixes: {:?}", cfg.deny);
        } else {
            println!("Image validation webhook not configured");
        }

        if self.cors.is_some() {
            println!("Cross-Origin Resource Sharing(CORS) requests are allowed\n");
        }

        if self.dry_run {
            println!("Dry run, exiting.");
            std::process::exit(0);
        }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…