Skip to content

Commit

Permalink
getLocalIp change to Config.getTisHost()
Browse files Browse the repository at this point in the history
  • Loading branch information
baisui1981 committed Apr 3, 2024
1 parent 13c0d82 commit eb2488e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tis-console.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ spec:
mountPath: /opt/app/tis-uber/tis-assemble/conf/tis-web-config/
- name: tis-console-pvc
mountPath: "/opt/data"
image: registry.cn-hangzhou.aliyuncs.com/tis/tis-console:4.0.0.8
image: registry.cn-hangzhou.aliyuncs.com/tis/tis-console:4.0.0.12
# command: [ "/bin/sh", "-c", "sleep 1000000" ]
ports:
- name: tis-8080
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ public static Manifest createManifestCfgAttrs(StoreResourceType resourceType, Ta
for (Map.Entry<String, String> e : extraEnvProps.entrySet()) {
addCfgAttrs(cfgAttrs, e);
}
cfgAttrs.put(new Attributes.Name(convertCfgPropertyKey(Config.KEY_TIS_HOST, true)), NetUtils.getHost());
cfgAttrs.put(new Attributes.Name(convertCfgPropertyKey(Config.KEY_TIS_HOST, true)), Config.getTisHost());
entries.put(Config.KEY_JAVA_RUNTIME_PROP_ENV_PROPS, cfgAttrs);


Expand Down

0 comments on commit eb2488e

Please sign in to comment.