diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-06-04 18:13:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-04 18:13:21 +0200 |
commit | cdf26a3d5677e0372e8892f85a8fd6065d512bcf (patch) | |
tree | fd499393b681028d6bd44022513ecc70d953521d /pkg/domain/entities/system.go | |
parent | c361a3886e28eabbefe403323d4d65663f284ea5 (diff) | |
parent | 2810c478a7f2497fad1300ce63c8476bb50a6ad0 (diff) | |
download | podman-cdf26a3d5677e0372e8892f85a8fd6065d512bcf.tar.gz podman-cdf26a3d5677e0372e8892f85a8fd6065d512bcf.tar.bz2 podman-cdf26a3d5677e0372e8892f85a8fd6065d512bcf.zip |
Merge pull request #10546 from boaz0/closes_8645
Add CORS support
Diffstat (limited to 'pkg/domain/entities/system.go')
-rw-r--r-- | pkg/domain/entities/system.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkg/domain/entities/system.go b/pkg/domain/entities/system.go index 31a6185dc..cca4bf44e 100644 --- a/pkg/domain/entities/system.go +++ b/pkg/domain/entities/system.go @@ -11,9 +11,10 @@ import ( // ServiceOptions provides the input for starting an API Service type ServiceOptions struct { - URI string // Path to unix domain socket service should listen on - Timeout time.Duration // duration of inactivity the service should wait before shutting down - Command *cobra.Command // CLI command provided. Used in V1 code + URI string // Path to unix domain socket service should listen on + Timeout time.Duration // duration of inactivity the service should wait before shutting down + Command *cobra.Command // CLI command provided. Used in V1 code + CorsHeaders string // CORS headers } // SystemPruneOptions provides options to prune system. |