Skip to content

Commit

Permalink
(maint) Update deprecation notice for config settings
Browse files Browse the repository at this point in the history
This commit updates the deprecation notice mentioned for
obsolete settings values which had initially been slated to
be removed in Chocolatey CLI v1.0.0. However, these are
required by CCM 0.7.0 and needs to be available until we
stop supporting this version.

As such, the deprecation notice is updated to reflect the
status, and the possibility of it being removed in v2.
  • Loading branch information
AdmiringWorm authored and gep13 committed Mar 14, 2022
1 parent 72e62bd commit 17d2a75
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ namespace chocolatey.infrastructure.app.configuration
[XmlRoot("chocolatey")]
public class ConfigFileSettings
{
[Obsolete("This will be removed in v1 of Chocolatey")]
[Obsolete("This will be removed once CCM v0.7.0 is no longer supported. Possibly in Chocolatey CLI v2.0.0.")]
[XmlElement(ElementName = "cacheLocation")]
public string CacheLocation { get; set; }

[Obsolete("This will be removed in v1 of Chocolatey")]
[Obsolete("This will be removed once CCM v0.7.0 is no longer supported. Possibly in Chocolatey CLI v2.0.0.")]
[XmlElement(ElementName = "commandExecutionTimeoutSeconds")]
public int CommandExecutionTimeoutSeconds { get; set; }

Expand Down

0 comments on commit 17d2a75

Please sign in to comment.