Skip to content

Commit

Permalink
Merge pull request #268 from ffromani/remove-useless-fields
Browse files Browse the repository at this point in the history
tree: remove useless API fields
  • Loading branch information
ffromani authored Jan 17, 2024
2 parents a6f48b0 + f0db1ac commit e2dd095
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion pkg/commands/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ func NewDeploySchedulerPluginCommand(env *deployer.Environment, commonOpts *depl
Platform: commonOpts.ClusterPlatform,
WaitCompletion: commonOpts.WaitCompletion,
Replicas: int32(commonOpts.Replicas),
RTEConfigData: commonOpts.RTEConfigData,
PullIfNotPresent: commonOpts.PullIfNotPresent,
ProfileName: commonOpts.SchedProfileName,
CacheResyncPeriod: commonOpts.SchedResyncPeriod,
Expand Down
2 changes: 0 additions & 2 deletions pkg/commands/remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ func NewRemoveCommand(env *deployer.Environment, commonOpts *deploy.Options) *co
Platform: commonOpts.ClusterPlatform,
WaitCompletion: commonOpts.WaitCompletion,
Replicas: int32(commonOpts.Replicas),
RTEConfigData: commonOpts.RTEConfigData,
PullIfNotPresent: commonOpts.PullIfNotPresent,
ProfileName: commonOpts.SchedProfileName,
CacheResyncPeriod: commonOpts.SchedResyncPeriod,
Expand Down Expand Up @@ -157,7 +156,6 @@ func NewRemoveSchedulerPluginCommand(env *deployer.Environment, commonOpts *depl
Platform: commonOpts.ClusterPlatform,
WaitCompletion: commonOpts.WaitCompletion,
Replicas: int32(commonOpts.Replicas),
RTEConfigData: commonOpts.RTEConfigData,
PullIfNotPresent: commonOpts.PullIfNotPresent,
ProfileName: commonOpts.SchedProfileName,
CacheResyncPeriod: commonOpts.SchedResyncPeriod,
Expand Down
1 change: 0 additions & 1 deletion pkg/deploy/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ func OnCluster(env *deployer.Environment, commonOpts *Options) error {
Platform: commonOpts.ClusterPlatform,
WaitCompletion: commonOpts.WaitCompletion,
Replicas: int32(commonOpts.Replicas),
RTEConfigData: commonOpts.RTEConfigData,
PullIfNotPresent: commonOpts.PullIfNotPresent,
ProfileName: commonOpts.SchedProfileName,
CacheResyncPeriod: commonOpts.SchedResyncPeriod,
Expand Down
1 change: 0 additions & 1 deletion pkg/deployer/sched/sched.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ type Options struct {
WaitCompletion bool
Replicas int32
ProfileName string
RTEConfigData string
PullIfNotPresent bool
CacheResyncPeriod time.Duration
CtrlPlaneAffinity bool
Expand Down
4 changes: 0 additions & 4 deletions pkg/manifests/nfd/nfd.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ func (mf Manifests) Clone() Manifests {

type RenderOptions struct {
DaemonSet objectupdate.DaemonSetOptions

// Deployment option
Replicas int32

// General options
Namespace string
}
Expand Down

0 comments on commit e2dd095

Please sign in to comment.