Skip to content

Commit

Permalink
update log message
Browse files Browse the repository at this point in the history
  • Loading branch information
luongnhattruong committed Feb 10, 2025
1 parent 1430c88 commit 71978bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/embulk/input/gcs/GcsFileInputPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class GcsFileInputPlugin
.addDefaultModules().build();
public static final ConfigMapper CONFIG_MAPPER = CONFIG_MAPPER_FACTORY.createConfigMapper();
public static final TaskMapper TASK_MAPPER = CONFIG_MAPPER_FACTORY.createTaskMapper();
private Logger logger = LoggerFactory.getLogger(GcsFileInputPlugin.class);
private static final Logger logger = LoggerFactory.getLogger(GcsFileInputPlugin.class);
@Override
public ConfigDiff transaction(ConfigSource config,
FileInputPlugin.Control control)
Expand Down Expand Up @@ -66,7 +66,7 @@ else if (AuthUtils.AuthMethod.private_key.equals(task.getAuthMethod())) {
if (task.getPathPrefix().isPresent()) {
task.setFiles(GcsFileInput.listFiles(task));
if (task.getFiles().getTaskCount() == 0) {
logger.info("No file is found. Confirm path_prefix option is correct");
logger.info("No file is found in the path(s) identified by path_prefix");
}
}
else {
Expand Down

0 comments on commit 71978bc

Please sign in to comment.