diff --git a/api/types/swarm/secret.go b/api/types/swarm/secret.go index 91f3578428..f9b1e92669 100644 --- a/api/types/swarm/secret.go +++ b/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