...
This commit is contained in:
@@ -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) => {
|
||||
|
Reference in New Issue
Block a user