Skip to content

Commit

Permalink
fix: add DirectPathProfileManager to mo registry
Browse files Browse the repository at this point in the history
Signed-off-by: Doug MacEachern <[email protected]>
  • Loading branch information
dougm committed Jan 17, 2025
1 parent 625ab59 commit bf637fc
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions vim25/mo/registry.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
/*
Copyright (c) 2014 VMware, Inc. All Rights Reserved.
// © Broadcom. All Rights Reserved.
// The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
// SPDX-License-Identifier: Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
package mo

http://www.apache.org/licenses/LICENSE-2.0
import (
"reflect"

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
"github.com/vmware/govmomi/vim25/types"
)

package mo
var t = map[string]reflect.Type{}

import "reflect"
// TODO: 9.0 mo below, not included in the generate mo/mo.go, since the generator still uses older rbvmomi vmodl.db

var t = map[string]reflect.Type{}
type DirectPathProfileManager struct {
Self types.ManagedObjectReference `json:"self"`
}

func (m DirectPathProfileManager) Reference() types.ManagedObjectReference {
return m.Self
}

func init() {
t["DirectPathProfileManager"] = reflect.TypeOf((*DirectPathProfileManager)(nil)).Elem()
}

0 comments on commit bf637fc

Please sign in to comment.