Unverified Commit ea27db19 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

various: use `types.port` instead of `types.int` (#445243)

parents cf32e862 c2b14be9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ in
    };
    hostPort = mkOption {
      default = 31022;
      type = types.int;
      type = types.port;
      example = 22;
      description = ''
        The localhost host port to forward TCP to the guest port.
+1 −1
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@ in

      pbPort = lib.mkOption {
        default = 9989;
        type = lib.types.either lib.types.str lib.types.int;
        type = lib.types.either lib.types.str lib.types.port;
        example = "'tcp:9990:interface=127.0.0.1'";
        description = ''
          The buildmaster will listen on a TCP port of your choosing
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ in

      sslPort = mkOption {
        default = 8154;
        type = types.int;
        type = types.port;
        description = ''
          Specifies port number on which the Go.CD server HTTPS interface listens.
        '';
+1 −1
Original line number Diff line number Diff line
@@ -415,7 +415,7 @@ in
    };

    jmxPort = mkOption {
      type = types.int;
      type = types.port;
      default = 7199;
      description = ''
        Specifies the default port over which Cassandra will be available for
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ in
    };

    listenPortStart = lib.mkOption {
      type = lib.types.int;
      type = lib.types.port;
      default = 4500;
      description = ''
        Starting port number for database listening sockets. Every FDB process binds to a
Loading