This commit is contained in:
2025-04-02 08:37:45 +02:00
parent 9c09f9e795
commit 1920e8ae79
5 changed files with 134 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ use std::collections::HashMap;
use redis::Cmd;
use serde::{Deserialize, Serialize};
use crate::env::redisclient;
use crate::env;
use crate::git::git::parse_git_url;
// Define a custom error type for GitExecutor operations
@@ -127,7 +127,7 @@ impl GitExecutor {
cmd.arg("GET").arg("herocontext:git");
// Execute the command
let result: redis::RedisResult<String> = redisclient::execute(&mut cmd);
let result: redis::RedisResult<String> = env::execute(&mut cmd);
match result {
Ok(json_str) => {