Skip to content

Commit b62e3e6

Browse files
committed
Cleanup unused variables
1 parent e0f412d commit b62e3e6

File tree

2 files changed

+0
-37
lines changed

2 files changed

+0
-37
lines changed

api/v1alpha3/types.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -153,18 +153,6 @@ type RootVolume struct {
153153
Size int `json:"diskSize,omitempty"`
154154
}
155155

156-
// KeyPair is how operators can supply custom keypairs for kubeadm to use.
157-
type KeyPair struct {
158-
// base64 encoded cert and key
159-
Cert []byte `json:"cert,omitempty"`
160-
Key []byte `json:"key,omitempty"`
161-
}
162-
163-
// HasCertAndKey returns whether a keypair contains cert and key of non-zero length.
164-
func (kp *KeyPair) HasCertAndKey() bool {
165-
return len(kp.Cert) != 0 && len(kp.Key) != 0
166-
}
167-
168156
// Network represents basic information about the associated OpenStach Neutron Network
169157
type Network struct {
170158
Name string `json:"name"`

api/v1alpha3/zz_generated.deepcopy.go

Lines changed: 0 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)