feat: add new property

pull/12289/head
deviantony 2 months ago
parent b40d22dc74
commit deef770a28
No known key found for this signature in database

@ -49,6 +49,7 @@ type publicSettingsResponse struct {
}
IsDockerDesktopExtension bool `json:"IsDockerDesktopExtension" example:"false"`
NewProperty string
}
// @id SettingsPublic
@ -82,6 +83,7 @@ func generatePublicSettings(appSettings *portainer.Settings) *publicSettingsResp
KubeconfigExpiry: appSettings.KubeconfigExpiry,
Features: featureflags.FeatureFlags(),
IsAMTEnabled: appSettings.EnableEdgeComputeFeatures && appSettings.OpenAMTConfiguration.Enabled,
NewProperty: portainer.NewProperty,
}
publicSettings.Edge.PingInterval = appSettings.Edge.PingInterval

@ -1598,6 +1598,8 @@ type (
)
const (
// NewProperty simulates a new property
NewProperty = "newprop"
// APIVersion is the version number of the Portainer API
APIVersion = "2.22.0"
// Edition is what this edition of Portainer is called

Loading…
Cancel
Save