File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
modules/valkey/src/main/java/org/testcontainers/valkey Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ public void start() {
163163 }
164164
165165 if (logLevel != null ) {
166- command .addAll (Arrays .asList ("--loglevel" , logLevel .name ()));
166+ command .addAll (Arrays .asList ("--loglevel" , logLevel .getLevel ()));
167167 }
168168
169169 if (initialImportScriptFile != null && !initialImportScriptFile .isEmpty ()) {
Original file line number Diff line number Diff line change 11package org .testcontainers .valkey ;
22
3- import lombok .AllArgsConstructor ;
4- import lombok .Getter ;
5-
6- @ AllArgsConstructor
7- @ Getter
83public enum ValkeyLogLevel {
94 DEBUG ("debug" ),
105 VERBOSE ("verbose" ),
116 NOTICE ("notice" ),
127 WARNING ("warning" );
138
149 private final String level ;
10+
11+ ValkeyLogLevel (String level ) {
12+ this .level = level ;
13+ }
14+
15+ public String getLevel () {
16+ return level ;
17+ }
1518}
You can’t perform that action at this time.
0 commit comments