浏览代码

Merge pull request #34157 from twistlock/plugable_secrets_backend

plugable secret backend
Sebastiaan van Stijn 8 年之前
父节点
当前提交
0304c98d85
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/types/swarm/secret.go

+ 1 - 1
api/types/swarm/secret.go

@@ -13,7 +13,7 @@ type Secret struct {
 type SecretSpec struct {
 	Annotations
 	Data   []byte  `json:",omitempty"`
-	Driver *Driver `json:"omitempty"` // name of the secrets driver used to fetch the secret's value from an external secret store
+	Driver *Driver `json:",omitempty"` // name of the secrets driver used to fetch the secret's value from an external secret store
 }
 
 // SecretReferenceFileTarget is a file target in a secret reference