mirror of https://github.com/portainer/portainer
feat: add new property
parent
3800a958da
commit
414de67b38
|
@ -53,6 +53,7 @@ type publicSettingsResponse struct {
|
|||
}
|
||||
|
||||
IsDockerDesktopExtension bool `json:"IsDockerDesktopExtension" example:"false"`
|
||||
NewProperty string
|
||||
}
|
||||
|
||||
// @id SettingsPublic
|
||||
|
@ -87,6 +88,7 @@ func generatePublicSettings(appSettings *portainer.Settings) *publicSettingsResp
|
|||
Features: featureflags.FeatureFlags(),
|
||||
IsFDOEnabled: appSettings.EnableEdgeComputeFeatures && appSettings.FDOConfiguration.Enabled,
|
||||
IsAMTEnabled: appSettings.EnableEdgeComputeFeatures && appSettings.OpenAMTConfiguration.Enabled,
|
||||
NewProperty: portainer.NewProperty,
|
||||
}
|
||||
|
||||
publicSettings.Edge.PingInterval = appSettings.Edge.PingInterval
|
||||
|
|
|
@ -1600,6 +1600,8 @@ type (
|
|||
)
|
||||
|
||||
const (
|
||||
// NewProperty simulates a new property
|
||||
NewProperty = "newprop"
|
||||
// APIVersion is the version number of the Portainer API
|
||||
APIVersion = "2.21.2"
|
||||
// Edition is what this edition of Portainer is called
|
||||
|
|
Loading…
Reference in New Issue