Skip to content

Commit 9f31fe8

Browse files
authoredDec 20, 2017
nixos: zfs: correct the networking.hostId error message
Users were confused that the error message said config.networking.hostId, and indeed that did nothing to fix their problem. Update the error message to specify the option they should actually set.
1 parent d30f5f8 commit 9f31fe8

File tree

1 file changed

+1
-1
lines changed
  • nixos/modules/tasks/filesystems

1 file changed

+1
-1
lines changed
 

‎nixos/modules/tasks/filesystems/zfs.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ in
268268
assertions = [
269269
{
270270
assertion = config.networking.hostId != null;
271-
message = "ZFS requires config.networking.hostId to be set";
271+
message = "ZFS requires networking.hostId to be set";
272272
}
273273
{
274274
assertion = !cfgZfs.forceImportAll || cfgZfs.forceImportRoot;

0 commit comments

Comments
 (0)
Please sign in to comment.