summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-05-23 22:52:14 +0200
committerGitHub <noreply@github.com>2019-05-23 22:52:14 +0200
commit5296428e91a56ba47705849512e287302d572cfd (patch)
tree2fe9d5c1231d1518dbe76fc7b13c91a962da64d9 /docs
parent1dbb27365ac017a344f52e2cef3e4836b264cd4e (diff)
parente2777a526df41b65df89640b2de7870ff9c9a135 (diff)
downloadpodman-5296428e91a56ba47705849512e287302d572cfd.tar.gz
podman-5296428e91a56ba47705849512e287302d572cfd.tar.bz2
podman-5296428e91a56ba47705849512e287302d572cfd.zip
Merge pull request #3186 from baude/varlinkdocsnullable
document nullable types
Diffstat (limited to 'docs')
-rw-r--r--docs/varlink/apidoc.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/varlink/apidoc.go b/docs/varlink/apidoc.go
index 7f1d60bc8..884ce54fe 100644
--- a/docs/varlink/apidoc.go
+++ b/docs/varlink/apidoc.go
@@ -44,6 +44,8 @@ func typeToString(input *idl.Type) string {
return "map[string]"
case idl.TypeInt:
return "int"
+ case idl.TypeMaybe:
+ return fmt.Sprintf("?%s", typeToString(input.ElementType))
}
return ""
}