fix: fix import cycle

This commit is contained in:
Fu Diwei 2024-10-31 20:03:04 +08:00
parent 0d96ea9eef
commit 68da6cf3ae

View File

@ -3,8 +3,6 @@ package domain
import (
"encoding/json"
"strings"
"github.com/usual2970/certimate/internal/domain"
)
type ApplyConfig struct {
@ -135,7 +133,7 @@ func (dc *DeployConfig) GetConfigAsVariables() map[string]string {
return rs
}
kvs := make([]domain.KV, 0)
kvs := make([]KV, 0)
bts, _ := json.Marshal(value)
if err := json.Unmarshal(bts, &kvs); err != nil {
return rs