Skip to content

Commit 400f614

Browse files
authored
Merge pull request #657 from hidekazuna/cleanup
πŸƒ Cleanup unused variables
2 parents 1cf4f15 + b62e3e6 commit 400f614

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)