You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just wanted to leave this issue here for anyone that might run into the same problem. I am not sure if this is still maintained. I also can not submit a patch at the moment, but I wanted to document what needs to change in order to make sure the discover hardware script runs successfully on a Linux/Unix machine.
In resiliency-studio-service/src/main/java/com/att/tta/rs/util/AppUtil.java, about line 170:
Change: String script = Resources.toString(url, Charsets.UTF_8);
to String script = Resources.toString(url, Charsets.UTF_8).replaceAll("\\r", "");
Of course, there might be a better solution, but main point of this issue is to record this for others, if needed.
The text was updated successfully, but these errors were encountered:
I just wanted to leave this issue here for anyone that might run into the same problem. I am not sure if this is still maintained. I also can not submit a patch at the moment, but I wanted to document what needs to change in order to make sure the discover hardware script runs successfully on a Linux/Unix machine.
In resiliency-studio-service/src/main/java/com/att/tta/rs/util/AppUtil.java, about line 170:
Change:
String script = Resources.toString(url, Charsets.UTF_8);
to
String script = Resources.toString(url, Charsets.UTF_8).replaceAll("\\r", "");
Of course, there might be a better solution, but main point of this issue is to record this for others, if needed.
The text was updated successfully, but these errors were encountered: