Skip to content

Commit d546254

Browse files
committed
fix(as400): correct REPLACE_KEY declaration
- Change REPLACE_KEY from const to var to allow -ldflags -X injection
1 parent a8b094a commit d546254

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

as400/config/const.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ import (
66
"github.com/utmstack/UTMStack/as400/utils"
77
)
88

9+
var REPLACE_KEY string = ""
10+
911
const (
10-
REPLACE_KEY string = ""
11-
DataType string = "ibm-as400"
12+
DataType string = "ibm-as400"
1213
)
1314

1415
var (

0 commit comments

Comments
 (0)