mirror of https://github.com/usual2970/certimate
fix: fix import cycle
parent
0d96ea9eef
commit
68da6cf3ae
|
@ -3,8 +3,6 @@ package domain
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/usual2970/certimate/internal/domain"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type ApplyConfig struct {
|
type ApplyConfig struct {
|
||||||
|
@ -135,7 +133,7 @@ func (dc *DeployConfig) GetConfigAsVariables() map[string]string {
|
||||||
return rs
|
return rs
|
||||||
}
|
}
|
||||||
|
|
||||||
kvs := make([]domain.KV, 0)
|
kvs := make([]KV, 0)
|
||||||
bts, _ := json.Marshal(value)
|
bts, _ := json.Marshal(value)
|
||||||
if err := json.Unmarshal(bts, &kvs); err != nil {
|
if err := json.Unmarshal(bts, &kvs); err != nil {
|
||||||
return rs
|
return rs
|
||||||
|
|
Loading…
Reference in New Issue