Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Commit

Permalink
Make protocol a list
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin committed Jun 20, 2019
1 parent aed7945 commit 7b94be7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/smart_city/dataset.ex
Expand Up @@ -41,7 +41,7 @@ defmodule SmartCity.Dataset do
}
],
"sourceUrl": "",
"protocol": "", //defaults to nil. Can be HTTP1 or HTTP2
"protocol": "", // List of protocols to use. Defaults to nil. Can be [http1, http2]
"authUrl": "",
"sourceFormat": "",
"sourceType": "", // remote|stream|batch
Expand Down
2 changes: 1 addition & 1 deletion lib/smart_city/dataset/technical.ex
Expand Up @@ -22,7 +22,7 @@ defmodule SmartCity.Dataset.Technical do
validations: not_required(list()),
sourceHeaders: not_required(map()),
authHeaders: not_required(map()),
protocol: not_required(String.t()),
protocol: not_required(list(String.t())),
partitioner: not_required(%{type: String.t(), query: String.t()}),
private: not_required(boolean())
}
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Expand Up @@ -4,7 +4,7 @@ defmodule SmartCity.Registry.MixProject do
def project do
[
app: :smart_city_registry,
version: "3.1.0",
version: "3.2.0",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
deps: deps(),
Expand Down

0 comments on commit 7b94be7

Please sign in to comment.