Skip to content

Commit

Permalink
rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
lhpqaq committed Dec 9, 2024
1 parent 1d0a00d commit 4a4c2c4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
public class GrafanaSetup {

public static ShellResult config(Params params) {
GrafanaParams prometheusParams = (GrafanaParams) params;
String user = prometheusParams.user();
String group = prometheusParams.group();
GrafanaParams grafanaParams = (GrafanaParams) params;
String user = grafanaParams.user();
String group = grafanaParams.group();

LinuxFileUtils.createDirectories(prometheusParams.dataDir(), user, group, Constants.PERMISSION_755, true);
LinuxFileUtils.createDirectories(grafanaParams.dataDir(), user, group, Constants.PERMISSION_755, true);

return ShellResult.success("Grafana Configure success!");
}
Expand Down

0 comments on commit 4a4c2c4

Please sign in to comment.